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(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(Descriptor referant,
EjbReferenceDescriptor referee) |
static NamedReferencePair |
createResourceEnvRefPair(Descriptor referant,
ResourceEnvReferenceDescriptor referee) |
static NamedReferencePair |
createResourceRefPair(Descriptor referant,
ResourceReferenceDescriptor referee) |
int |
getPairType() |
String |
getPairTypeName() |
Descriptor |
getReferant()
Gets the descriptor with the named descriptor.
|
NamedDescriptor |
getReferee()
Gets the named descriptor for the decriptor.
|
void |
print(StringBuilder toStringBuilder)
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(Descriptor referant, NamedDescriptor referee, int type)
public static NamedReferencePair createEjbPair(EjbDescriptor referant, EjbDescriptor referee)
public static NamedReferencePair createEjbRefPair(Descriptor referant, EjbReferenceDescriptor referee)
public static NamedReferencePair createResourceRefPair(Descriptor referant, ResourceReferenceDescriptor referee)
public static NamedReferencePair createResourceEnvRefPair(Descriptor referant, ResourceEnvReferenceDescriptor referee)
public Descriptor getReferant()
public NamedDescriptor getReferee()
public String getPairTypeName()
public int getPairType()
public void print(StringBuilder toStringBuilder)
Copyright © 2019. All rights reserved.