Examples of InstanceInfo


Examples of org.apache.flex.abc.semantics.InstanceInfo

        /**
         * Establish dependency relationships between this node and another.
         */
        void establishDependency(DependencyTracker<T> other)
        {
            InstanceInfo myInstance = this.payload.getInstanceInfo();
            InstanceInfo otherInstance = other.payload.getInstanceInfo();

            if (myInstance.superName != null && myInstance.superName.equals(otherInstance.name))
                this.makeDependentOf(other);
            else if (otherInstance.superName != null && otherInstance.superName.equals(myInstance.name))
                other.makeDependentOf(this);
View Full Code Here

Examples of org.apache.flex.abc.semantics.InstanceInfo

    protected void traverseScriptClassTrait (Trait trait, ScriptInfo scriptInfo)
    {
        ClassInfo ci = (ClassInfo) trait.getAttr(Trait.TRAIT_CLASS);
        int classIndex = getClassId(ci);
        ClassVisitor cv = getDefinedClasses().get(classIndex);
        InstanceInfo iinfo = cv.getInstanceInfo();

        traverseScriptClassTrait(classIndex, iinfo, ci, trait, scriptInfo);
    }
View Full Code Here

Examples of org.apache.imperius.spl.core.InstanceInfo

      _anchorData = new AnchorData();
    }

    if(instanceInfoList.size()==0)
    {
      InstanceInfo iI=new InstanceInfo(className,null);
            instanceInfoList.add(iI);
    }
    _anchorData.addInstanceInfoListForClass(className, instanceInfoList);
    _anchorData.addQualifierForClass(className, qualifier);
    if(qualifier!=null)
View Full Code Here

Examples of org.apache.imperius.spl.core.InstanceInfo

        Iterator instanceInfoListIt = instanceInfoList.iterator();
        if(instanceInfoList != null && !instanceInfoList.isEmpty())
        { 
          while(instanceInfoListIt.hasNext())
          { 
            InstanceInfo instanceInfo = (InstanceInfo)instanceInfoListIt.next();
            String instanceName = instanceInfo.getInstanceName();
//            _symbolMap.put(instanceName + "." + key,s);

//            _symbolMap.put(instanceName + "." + key, v);

            // xiping's test 06/19/09
View Full Code Here

Examples of org.apache.imperius.spl.core.InstanceInfo

  {
    String qualifierName = null;
    if(_symbolTable.getAnchorData() == null)
    {
      List instanceInfoList = new ArrayList(1);
      instanceInfoList.add(new InstanceInfo(classType, new Object()));
      _symbolTable.addAnchor(classType,qualifierName,instanceInfoList);
     
    }
   
  }
View Full Code Here

Examples of org.apache.imperius.spl.core.InstanceInfo

     
//        System.out.println("+++++++++++"+"Evaluating policy against instance "+instanceCount+"+++++++++++");
        auditloggerString+="+++++++++++"+"Evaluating policy against instance "+instanceCount+"+++++++++++"+"\n";
       
       
        InstanceInfo instanceOfClass = (InstanceInfo)instancesForClassIt.next();
        String instanceName = instanceOfClass.getInstanceName();
        Object instance = instanceOfClass.getInstance();
        Map instanceSymbolMap = instanceOfClass.getInstanceSymbolsMap();
        // populate the symboltable with information from the map
        _symTab.populateInstanceValuesForInstance(className, instanceName,instance, instanceSymbolMap);
      }
     } 
    //evaluate the declaration to populate the values for the constants
View Full Code Here

Examples of org.apache.imperius.spl.core.InstanceInfo

   
    EvaluationResults result = new EvaluationResults();
//    System.out.println("cimObjectName "+anchorClassName+" "+anchornamespace+" "+anchorInstance.toString());
    //Map keys=this.symTab.getInstance().getMapOfKeys();
    ImportStatement imp=(ImportStatement)this._importStmtList.get(0);
    InstanceInfo ii=(InstanceInfo)imp.getImportInstanceInfoList().get(0);
    String targetclassnm = ii.getInstanceName();
    List targetClassInstances = dc.getAssociatedInstanceReferences(anchorInstance, anchornamespace, targetclassnm, assocName, role1, role2);
   
    Iterator it=targetClassInstances.iterator();
//    System.out.println(">>>>>>>>>>>"+"Policy Group Evaluation - number of associated instances :"+targetClassInstances.size()+"<<<<<<<<<<<");
   
View Full Code Here

Examples of org.apache.imperius.spl.core.InstanceInfo

                    Iterator instanceListIt = instanceList.iterator();
                    // iterate over all the instances of this class to see if
                    // there is a match
                    while(instanceListIt.hasNext())
                    {
                        InstanceInfo iInfo = (InstanceInfo)instanceListIt.next();
                        if(iInfo.getInstanceName().equals(instanceName))
                        {
                            InstanceInfo instanceInfo = new InstanceInfo(instanceName,instance);
                           
                            String qualifier = _symTab.getQualifierForClass(anchorClassName);
                            Map symbolsForInstance = dc.getSymbolsForInstance(anchorClassName,
                                        qualifier,
                                        instance);
                            instanceInfo.setInstanceSymbolsMap(symbolsForInstance);
                            if(instMap.containsKey(anchorClassName))
                            {
                                List instanceInfoList = (List)instMap.get(anchorClassName);
                                instanceInfoList.add(instanceInfo);
                               
View Full Code Here

Examples of org.cloudfoundry.client.lib.domain.InstanceInfo

                  // is
                  // added to the same
                  // info index
                  descriptors = new ArrayList<DebugConnectionDescriptor>(infos.size());
                  for (int i = 0; i < infos.size(); i++) {
                    InstanceInfo info = infos.get(i);
                    String debugIP = info.getDebugIp();
                    int debugPort = info.getDebugPort();
                    DebugConnectionDescriptor descriptor = new DebugConnectionDescriptor(debugIP,
                        debugPort);
                    if (descriptor.areValidIPandPort() && !descriptors.contains(descriptor)) {
                      descriptors.add(i, descriptor);
                    }
View Full Code Here

Examples of org.cloudfoundry.client.lib.domain.InstanceInfo

        List<InstanceInfo> infos = instancesInfo != null ? instancesInfo.getInstances() : null;
        InstanceStatsAndInfo[] statsAndInfos = new InstanceStatsAndInfo[statss.size()];

        for (int i = 0; i < statss.size(); i++) {
          InstanceStats stats = statss.get(i);
          InstanceInfo info = null;
          if (infos != null && infos.size() > i) {
            info = infos.get(i);
          }

          statsAndInfos[i] = new InstanceStatsAndInfo(stats, info);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.