public class NamedReferencePair extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static int |
EJB |
static int |
EJB_REF |
static int |
RESOURCE_ENV_REF |
static int |
RESOURCE_REF |
| Modifier | Constructor and Description |
|---|---|
protected |
NamedReferencePair(org.glassfish.deployment.common.Descriptor referant,
NamedDescriptor referee,
int type)
Construct a pairing between the given descriptor and the object
it has with a jndi name.
|
| Modifier and Type | Method and Description |
|---|---|
static NamedReferencePair |
createEjbPair(EjbDescriptor referant,
EjbDescriptor referee) |
static NamedReferencePair |
createEjbRefPair(org.glassfish.deployment.common.Descriptor referant,
EjbReferenceDescriptor referee) |
static NamedReferencePair |
createResourceEnvRefPair(org.glassfish.deployment.common.Descriptor referant,
ResourceEnvReferenceDescriptor referee) |
static NamedReferencePair |
createResourceRefPair(org.glassfish.deployment.common.Descriptor referant,
ResourceReferenceDescriptor referee) |
int |
getPairType() |
String |
getPairTypeName() |
org.glassfish.deployment.common.Descriptor |
getReferant()
Gets the descriptor with the named descriptor.
|
NamedDescriptor |
getReferee()
Gets the named descriptor for the decriptor.
|
void |
print(StringBuffer toStringBuffer)
My pretty format.
|
public static final int EJB
public static final int EJB_REF
public static final int RESOURCE_REF
public static final int RESOURCE_ENV_REF
protected NamedReferencePair(org.glassfish.deployment.common.Descriptor referant,
NamedDescriptor referee,
int type)
public static NamedReferencePair createEjbPair(EjbDescriptor referant, EjbDescriptor referee)
public static NamedReferencePair createEjbRefPair(org.glassfish.deployment.common.Descriptor referant, EjbReferenceDescriptor referee)
public static NamedReferencePair createResourceRefPair(org.glassfish.deployment.common.Descriptor referant, ResourceReferenceDescriptor referee)
public static NamedReferencePair createResourceEnvRefPair(org.glassfish.deployment.common.Descriptor referant, ResourceEnvReferenceDescriptor referee)
public org.glassfish.deployment.common.Descriptor getReferant()
public NamedDescriptor getReferee()
public String getPairTypeName()
public int getPairType()
public void print(StringBuffer toStringBuffer)
Copyright © 2013. All Rights Reserved.