Package com.ibm.wsspi.resource
Interface ResourceInfo
-
- All Known Subinterfaces:
ResourceConfig
public interface ResourceInfoInformation about a resource.This interface is not intended to be implemented by clients.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceResourceInfo.Property
-
Field Summary
Fields Modifier and Type Field Description static intAUTH_APPLICATIONstatic intAUTH_CONTAINERstatic intBRANCH_COUPLING_LOOSEstatic intBRANCH_COUPLING_TIGHTstatic intBRANCH_COUPLING_UNSETRepresents an unset value forgetBranchCoupling().static intSHARING_SCOPE_SHAREABLEstatic intSHARING_SCOPE_UNSHAREABLE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetAuth()intgetBranchCoupling()intgetCommitPriority()java.lang.StringgetDescription()intgetIsolationLevel()java.lang.StringgetLoginConfigurationName()java.util.List<? extends ResourceInfo.Property>getLoginPropertyList()java.lang.StringgetName()Returns the name, which is either null (for a direct lookup), relative to java:comp/env (e.g., jdbc/myDS), or is fully-qualified with a scope (e.g., java:global/env/myDS or java:comp/jdbc/myDS).intgetSharingScope()java.lang.StringgetType()
-
-
-
Field Detail
-
AUTH_CONTAINER
static final int AUTH_CONTAINER
- See Also:
getAuth(), Constant Field Values
-
AUTH_APPLICATION
static final int AUTH_APPLICATION
- See Also:
getAuth(), Constant Field Values
-
SHARING_SCOPE_SHAREABLE
static final int SHARING_SCOPE_SHAREABLE
- See Also:
getSharingScope(), Constant Field Values
-
SHARING_SCOPE_UNSHAREABLE
static final int SHARING_SCOPE_UNSHAREABLE
- See Also:
getSharingScope(), Constant Field Values
-
BRANCH_COUPLING_UNSET
static final int BRANCH_COUPLING_UNSET
Represents an unset value forgetBranchCoupling().- See Also:
- Constant Field Values
-
BRANCH_COUPLING_LOOSE
static final int BRANCH_COUPLING_LOOSE
- See Also:
getBranchCoupling(), Constant Field Values
-
BRANCH_COUPLING_TIGHT
static final int BRANCH_COUPLING_TIGHT
- See Also:
getBranchCoupling(), Constant Field Values
-
-
Method Detail
-
getName
java.lang.String getName()
Returns the name, which is either null (for a direct lookup), relative to java:comp/env (e.g., jdbc/myDS), or is fully-qualified with a scope (e.g., java:global/env/myDS or java:comp/jdbc/myDS).
-
getDescription
java.lang.String getDescription()
- Returns:
- the description, or null if unset
-
getType
java.lang.String getType()
- Returns:
- the class type name (e.g., javax.sql.DataSource)
-
getAuth
int getAuth()
- Returns:
- the authentication type
AUTH_CONTAINER- ContainerAUTH_APPLICATION- Application
-
getSharingScope
int getSharingScope()
- Returns:
- the sharing scope
SHARING_SCOPE_SHAREABLE- ShareableSHARING_SCOPE_UNSHAREABLE- Unshareable
-
getLoginConfigurationName
java.lang.String getLoginConfigurationName()
- Returns:
- the LoginConfigurationName for this object
-
getLoginPropertyList
java.util.List<? extends ResourceInfo.Property> getLoginPropertyList()
- Returns:
- the non-null login properties
-
getIsolationLevel
int getIsolationLevel()
- Returns:
- the configured isolation level
Connection.TRANSACTION_NONEConnection.TRANSACTION_READ_UNCOMMITTED-
Connection.TRANSACTION_READ_COMMITTED Connection.TRANSACTION_REPEATABLE_READ-
Connection.TRANSACTION_SERIALIZABLE
-
getCommitPriority
int getCommitPriority()
- Returns:
- the commit priority, or 0 if unspecified
-
getBranchCoupling
int getBranchCoupling()
- Returns:
- the branch coupling
-
-