Examples of InstanceReference


Examples of fr.imag.adele.apam.declarations.references.components.InstanceReference

    }
  }

  @Override
  protected InstanceReference generateReference() {
    return new InstanceReference(getName());
  }
View Full Code Here

Examples of fr.imag.adele.apam.declarations.references.components.InstanceReference

    return (Implementation) findByName(client, new ImplementationReference<ImplementationDeclaration>(implName), ComponentKind.IMPLEMENTATION);
  }

  @Override
  public Instance findInstByName(Component client, String instName) {
    return (Instance) findByName(client, new InstanceReference(instName), ComponentKind.INSTANCE);
  }
View Full Code Here

Examples of fr.imag.adele.apam.declarations.references.components.InstanceReference

    if (CST.IMPLEMENTATION.equals(componentkind)) {
      return new ImplementationReference<ImplementationDeclaration>(componentName);
    }
   
    if (CST.INSTANCE.equals(componentkind)) {
      return new InstanceReference(componentName);
    }
   
    return new ComponentReference<ComponentDeclaration>(componentName);
  }
View Full Code Here

Examples of fr.imag.adele.apam.declarations.references.components.InstanceReference

  /**
   * Get an instance reference coded in an attribute
   */
  private InstanceReference parseInstanceReference(String inComponent, Element element, String attribute, boolean mandatory) {
    String instance = parseString(inComponent, element, attribute, mandatory);
    return ((instance == null) && !mandatory) ? null : new InstanceReference(instance);
  }
View Full Code Here

Examples of fr.imag.adele.apam.declarations.references.components.InstanceReference

  ResolvableReference rr = null;
  // Create the ResolvableReference according to its type.
  switch (rr_type) {
  case instance:
      rr = new InstanceReference(rr_name);
      break;
  case itf:
      rr = new InterfaceReference(rr_name);
      break;
  case message:
View Full Code Here

Examples of org.apache.felix.servicebinder.InstanceReference

    {
        Object[] refs=m_instanceReferences.toArray();

        for(int i=0; i<refs.length ;i++)
        {
            InstanceReference current = (InstanceReference) refs [i];
            if(current.getObject( )== obj)
            {
                return current;
            }
        }
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.