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 int
Represents <ejb-local-ref> forgetKindValue()
.static final int
Represents <ejb-ref> forgetKindValue()
.static final int
Represents an unknown kind forgetKindValue()
.static final int
Represents "Entity" forgetTypeValue()
.static final int
Represents "Session" forgetTypeValue()
.static final int
Represents an unspecified value forgetTypeValue()
. -
Method Summary
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 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_UNKNOWN
for 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_UNSPECIFIED
if 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
-