Methods Summary |
---|
public static com.sun.enterprise.deployment.NamedReferencePair | createEjbPair(EjbDescriptor referant, EjbDescriptor referee)
return new NamedReferencePair(referant, referee, EJB);
|
public static com.sun.enterprise.deployment.NamedReferencePair | createEjbRefPair(Descriptor referant, EjbReferenceDescriptor referee)
return new NamedReferencePair(referant, referee, EJB_REF);
|
public static com.sun.enterprise.deployment.NamedReferencePair | createResourceEnvRefPair(Descriptor referant, JmsDestinationReferenceDescriptor referee)
return new NamedReferencePair(referant, referee, RESOURCE_ENV_REF);
|
public static com.sun.enterprise.deployment.NamedReferencePair | createResourceRefPair(Descriptor referant, ResourceReferenceDescriptor referee)
return new NamedReferencePair(referant, referee, RESOURCE_REF);
|
public int | getPairType()
return this.type;
|
public java.lang.String | getPairTypeName()
switch(this.type) {
case EJB : return "EJB";
case EJB_REF : return "EJB REF";
case RESOURCE_REF : return "RESOURCE REF";
case RESOURCE_ENV_REF : return "RESOURCE ENV REF";
}
throw new IllegalStateException("unknown type = " + type);
|
public Descriptor | getReferant()Gets the descriptor with the named descriptor.
return this.referant;
|
public NamedDescriptor | getReferee()Gets the named descriptor for the decriptor.
return this.referee;
|
public void | print(java.lang.StringBuffer toStringBuffer)My pretty format.
toStringBuffer.append("NRP: ").append(referant.getName()).append(" -> ").append(((Descriptor) referee).getName());
|