Package com.ibm.ws.javaee.dd.common
Interface EJBRef
-
- All Superinterfaces:
Describable,JNDIEnvironmentRef,ResourceBaseGroup,ResourceGroup
public interface EJBRef extends ResourceGroup, Describable
Represents <ejb-ref> and <ejb-local-ref>.
-
-
Field Summary
Fields Modifier and Type Field Description static intKIND_LOCALRepresents <ejb-local-ref> forgetKindValue().static intKIND_REMOTERepresents <ejb-ref> forgetKindValue().static intKIND_UNKNOWNRepresents an unknown kind forgetKindValue().static intTYPE_ENTITYRepresents "Entity" forgetTypeValue().static intTYPE_SESSIONRepresents "Session" forgetTypeValue().static intTYPE_UNSPECIFIEDRepresents an unspecified value forgetTypeValue().
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetHome()java.lang.StringgetInterface()intgetKindValue()java.lang.StringgetLink()intgetTypeValue()-
Methods inherited from interface com.ibm.ws.javaee.dd.common.Describable
getDescriptions
-
Methods inherited from interface com.ibm.ws.javaee.dd.common.JNDIEnvironmentRef
getName
-
Methods inherited from interface com.ibm.ws.javaee.dd.common.ResourceBaseGroup
getInjectionTargets, getMappedName
-
Methods inherited from interface com.ibm.ws.javaee.dd.common.ResourceGroup
getLookupName
-
-
-
-
Field Detail
-
KIND_UNKNOWN
static final int KIND_UNKNOWN
Represents an unknown kind forgetKindValue().- See Also:
- Constant Field Values
-
KIND_REMOTE
static final int KIND_REMOTE
Represents <ejb-ref> forgetKindValue().- See Also:
- Constant Field Values
-
KIND_LOCAL
static final int KIND_LOCAL
Represents <ejb-local-ref> forgetKindValue().- See Also:
- Constant Field Values
-
TYPE_UNSPECIFIED
static final int TYPE_UNSPECIFIED
Represents an unspecified value forgetTypeValue().- See Also:
- Constant Field Values
-
TYPE_SESSION
static final int TYPE_SESSION
Represents "Session" forgetTypeValue().- See Also:
org.eclipse.jst.j2ee.common.EjbRefType#SESSION, Constant Field Values
-
TYPE_ENTITY
static final int TYPE_ENTITY
Represents "Entity" forgetTypeValue().- See Also:
org.eclipse.jst.j2ee.common.EjbRefType#ENTITY, Constant Field Values
-
-
Method Detail
-
getKindValue
int getKindValue()
- Returns:
- the kind of EJB reference represented by this object
KIND_UNKNOWNfor programmatically created references for which the kind cannot be determinedKIND_REMOTE- <ejb-ref>KIND_LOCAL- <ejb-local-ref>
-
getTypeValue
int getTypeValue()
- Returns:
- <ejb-type>
TYPE_UNSPECIFIEDif unspecifiedTYPE_SESSION- SessionTYPE_ENTITY- Entity
-
getHome
java.lang.String getHome()
- Returns:
- the home interface (<home> or <local-home>), or null if unspecified
-
getInterface
java.lang.String getInterface()
- Returns:
- the client interface (<remote> or <local>), or null if unspecified
-
getLink
java.lang.String getLink()
- Returns:
- <ejb-link>, or null if unspecified
-
-