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 int
AUTH_APPLICATION
Represents "Application" forgetAuthValue()
.static int
AUTH_CONTAINER
Represents "Container" forgetAuthValue()
.static int
AUTH_UNSPECIFIED
Represents an unspecified value forgetAuthValue()
.static int
SHARING_SCOPE_SHAREABLE
Represents "Shareable" forgetSharingScopeValue()
.static int
SHARING_SCOPE_UNSHAREABLE
Represents "Unshareable" forgetSharingScopeValue()
.static int
SHARING_SCOPE_UNSPECIFIED
Represents an unspecified value forgetSharingScopeValue()
.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getAuthValue()
int
getSharingScopeValue()
java.lang.String
getType()
-
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_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
-
-