Package com.ibm.ws.javaee.dd.common
Interface EJBRef
- All Superinterfaces:
Describable,JNDIEnvironmentRef,ResourceBaseGroup,ResourceGroup
Represents <ejb-ref> and <ejb-local-ref>.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intRepresents <ejb-local-ref> forgetKindValue().static final intRepresents <ejb-ref> forgetKindValue().static final intRepresents an unknown kind forgetKindValue().static final intRepresents "Entity" forgetTypeValue().static final intRepresents "Session" forgetTypeValue().static final intRepresents an unspecified value forgetTypeValue(). -
Method Summary
Methods inherited from interface com.ibm.ws.javaee.dd.common.Describable
getDescriptionsMethods inherited from interface com.ibm.ws.javaee.dd.common.JNDIEnvironmentRef
getNameMethods inherited from interface com.ibm.ws.javaee.dd.common.ResourceBaseGroup
getInjectionTargets, getMappedNameMethods inherited from interface com.ibm.ws.javaee.dd.common.ResourceGroup
getLookupName
-
Field Details
-
KIND_UNKNOWN
static final int KIND_UNKNOWNRepresents an unknown kind forgetKindValue().- See Also:
-
KIND_REMOTE
static final int KIND_REMOTERepresents <ejb-ref> forgetKindValue().- See Also:
-
KIND_LOCAL
static final int KIND_LOCALRepresents <ejb-local-ref> forgetKindValue().- See Also:
-
TYPE_UNSPECIFIED
static final int TYPE_UNSPECIFIEDRepresents an unspecified value forgetTypeValue().- See Also:
-
TYPE_SESSION
static final int TYPE_SESSIONRepresents "Session" forgetTypeValue().- See Also:
-
org.eclipse.jst.j2ee.common.EjbRefType#SESSION- Constant Field Values
-
TYPE_ENTITY
static final int TYPE_ENTITYRepresents "Entity" forgetTypeValue().- See Also:
-
org.eclipse.jst.j2ee.common.EjbRefType#ENTITY- Constant Field Values
-
-
Method Details
-
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
String getHome()- Returns:
- the home interface (<home> or <local-home>), or null if unspecified
-
getInterface
String getInterface()- Returns:
- the client interface (<remote> or <local>), or null if unspecified
-
getLink
String getLink()- Returns:
- <ejb-link>, or null if unspecified
-