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 int
KIND_LOCAL
Represents <ejb-local-ref> forgetKindValue()
.static int
KIND_REMOTE
Represents <ejb-ref> forgetKindValue()
.static int
KIND_UNKNOWN
Represents an unknown kind forgetKindValue()
.static int
TYPE_ENTITY
Represents "Entity" forgetTypeValue()
.static int
TYPE_SESSION
Represents "Session" forgetTypeValue()
.static int
TYPE_UNSPECIFIED
Represents an unspecified value forgetTypeValue()
.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getHome()
java.lang.String
getInterface()
int
getKindValue()
java.lang.String
getLink()
int
getTypeValue()
-
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_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
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
-
-