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 SummaryFields 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 SummaryAll 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.DescribablegetDescriptions
 - 
Methods inherited from interface com.ibm.ws.javaee.dd.common.JNDIEnvironmentRefgetName
 - 
Methods inherited from interface com.ibm.ws.javaee.dd.common.ResourceBaseGroupgetInjectionTargets, getMappedName
 - 
Methods inherited from interface com.ibm.ws.javaee.dd.common.ResourceGroupgetLookupName
 
- 
 
- 
- 
- 
Field Detail- 
KIND_UNKNOWNstatic final int KIND_UNKNOWN Represents an unknown kind forgetKindValue().- See Also:
- Constant Field Values
 
 - 
KIND_REMOTEstatic final int KIND_REMOTE Represents <ejb-ref> forgetKindValue().- See Also:
- Constant Field Values
 
 - 
KIND_LOCALstatic final int KIND_LOCAL Represents <ejb-local-ref> forgetKindValue().- See Also:
- Constant Field Values
 
 - 
TYPE_UNSPECIFIEDstatic final int TYPE_UNSPECIFIED Represents an unspecified value forgetTypeValue().- See Also:
- Constant Field Values
 
 - 
TYPE_SESSIONstatic final int TYPE_SESSION Represents "Session" forgetTypeValue().- See Also:
- org.eclipse.jst.j2ee.common.EjbRefType#SESSION, Constant Field Values
 
 - 
TYPE_ENTITYstatic final int TYPE_ENTITY Represents "Entity" forgetTypeValue().- See Also:
- org.eclipse.jst.j2ee.common.EjbRefType#ENTITY, Constant Field Values
 
 
- 
 - 
Method Detail- 
getKindValueint getKindValue() - Returns:
- the kind of EJB reference represented by this object
         - KIND_UNKNOWNfor programmatically created references for which the kind cannot be determined
- KIND_REMOTE- <ejb-ref>
- KIND_LOCAL- <ejb-local-ref>
 
 
 - 
getTypeValueint getTypeValue() - Returns:
- <ejb-type>
         - TYPE_UNSPECIFIEDif unspecified
- TYPE_SESSION- Session
- TYPE_ENTITY- Entity
 
 
 - 
getHomejava.lang.String getHome() - Returns:
- the home interface (<home> or <local-home>), or null if unspecified
 
 - 
getInterfacejava.lang.String getInterface() - Returns:
- the client interface (<remote> or <local>), or null if unspecified
 
 - 
getLinkjava.lang.String getLink() - Returns:
- <ejb-link>, or null if unspecified
 
 
- 
 
-