Package com.ibm.ws.javaee.dd.common
Interface ResourceRef
- All Superinterfaces:
Describable
,JNDIEnvironmentRef
,ResourceBaseGroup
,ResourceGroup
Represents <resource-ref>.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Represents "Application" forgetAuthValue()
.static final int
Represents "Container" forgetAuthValue()
.static final int
Represents an unspecified value forgetAuthValue()
.static final int
Represents "Shareable" forgetSharingScopeValue()
.static final int
Represents "Unshareable" forgetSharingScopeValue()
.static final int
Represents an unspecified value forgetSharingScopeValue()
. -
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
-
AUTH_UNSPECIFIED
static final int AUTH_UNSPECIFIEDRepresents an unspecified value forgetAuthValue()
.- See Also:
-
AUTH_CONTAINER
static final int AUTH_CONTAINERRepresents "Container" forgetAuthValue()
.- See Also:
-
org.eclipse.jst.j2ee.common.ResAuthTypeBase#CONTAINER
- Constant Field Values
-
AUTH_APPLICATION
static final int AUTH_APPLICATIONRepresents "Application" forgetAuthValue()
.- See Also:
-
org.eclipse.jst.j2ee.common.ResAuthTypeBase#APPLICATION
- Constant Field Values
-
SHARING_SCOPE_UNSPECIFIED
static final int SHARING_SCOPE_UNSPECIFIEDRepresents an unspecified value forgetSharingScopeValue()
.- See Also:
-
SHARING_SCOPE_SHAREABLE
static final int SHARING_SCOPE_SHAREABLERepresents "Shareable" forgetSharingScopeValue()
.- See Also:
-
org.eclipse.jst.j2ee.common.ResSharingScopeType#SHAREABLE
- Constant Field Values
-
SHARING_SCOPE_UNSHAREABLE
static final int SHARING_SCOPE_UNSHAREABLERepresents "Unshareable" forgetSharingScopeValue()
.- See Also:
-
org.eclipse.jst.j2ee.common.ResSharingScopeType#UNSHAREABLE
- Constant Field Values
-
-
Method Details
-
getType
String getType()- Returns:
- <res-type>, or null if unspecified
-
getAuthValue
int getAuthValue()- Returns:
- <res-auth>
AUTH_UNSPECIFIED
if unspecifiedAUTH_CONTAINER
- ContainerAUTH_APPLICATION
- Application
-
getSharingScopeValue
int getSharingScopeValue()- Returns:
- <res-sharing-scope>
SHARING_SCOPE_UNSPECIFIED
if unspecifiedSHARING_SCOPE_SHAREABLE
- ShareableSHARING_SCOPE_UNSHAREABLE
- Unshareable
-