Package com.ibm.ws.javaee.dd.common
Interface ResourceRef
-
- All Superinterfaces:
Describable,JNDIEnvironmentRef,ResourceBaseGroup,ResourceGroup
public interface ResourceRef extends ResourceGroup, Describable
Represents <resource-ref>.
-
-
Field Summary
Fields Modifier and Type Field Description static intAUTH_APPLICATIONRepresents "Application" forgetAuthValue().static intAUTH_CONTAINERRepresents "Container" forgetAuthValue().static intAUTH_UNSPECIFIEDRepresents an unspecified value forgetAuthValue().static intSHARING_SCOPE_SHAREABLERepresents "Shareable" forgetSharingScopeValue().static intSHARING_SCOPE_UNSHAREABLERepresents "Unshareable" forgetSharingScopeValue().static intSHARING_SCOPE_UNSPECIFIEDRepresents an unspecified value forgetSharingScopeValue().
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetAuthValue()intgetSharingScopeValue()java.lang.StringgetType()-
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
-
AUTH_UNSPECIFIED
static final int AUTH_UNSPECIFIED
Represents an unspecified value forgetAuthValue().- See Also:
- Constant Field Values
-
AUTH_CONTAINER
static final int AUTH_CONTAINER
Represents "Container" forgetAuthValue().- See Also:
org.eclipse.jst.j2ee.common.ResAuthTypeBase#CONTAINER, Constant Field Values
-
AUTH_APPLICATION
static final int AUTH_APPLICATION
Represents "Application" forgetAuthValue().- See Also:
org.eclipse.jst.j2ee.common.ResAuthTypeBase#APPLICATION, Constant Field Values
-
SHARING_SCOPE_UNSPECIFIED
static final int SHARING_SCOPE_UNSPECIFIED
Represents an unspecified value forgetSharingScopeValue().- See Also:
- Constant Field Values
-
SHARING_SCOPE_SHAREABLE
static final int SHARING_SCOPE_SHAREABLE
Represents "Shareable" forgetSharingScopeValue().- See Also:
org.eclipse.jst.j2ee.common.ResSharingScopeType#SHAREABLE, Constant Field Values
-
SHARING_SCOPE_UNSHAREABLE
static final int SHARING_SCOPE_UNSHAREABLE
Represents "Unshareable" forgetSharingScopeValue().- See Also:
org.eclipse.jst.j2ee.common.ResSharingScopeType#UNSHAREABLE, Constant Field Values
-
-
Method Detail
-
getType
java.lang.String getType()
- Returns:
- <res-type>, or null if unspecified
-
getAuthValue
int getAuthValue()
- Returns:
- <res-auth>
AUTH_UNSPECIFIEDif unspecifiedAUTH_CONTAINER- ContainerAUTH_APPLICATION- Application
-
getSharingScopeValue
int getSharingScopeValue()
- Returns:
- <res-sharing-scope>
SHARING_SCOPE_UNSPECIFIEDif unspecifiedSHARING_SCOPE_SHAREABLE- ShareableSHARING_SCOPE_UNSHAREABLE- Unshareable
-
-