Package com.ibm.wsspi.resource
Interface ResourceInfo
-
- All Known Subinterfaces:
ResourceConfig
public interface ResourceInfo
Information about a resource.This interface is not intended to be implemented by clients.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ResourceInfo.Property
-
Field Summary
Fields Modifier and Type Field Description static int
AUTH_APPLICATION
static int
AUTH_CONTAINER
static int
BRANCH_COUPLING_LOOSE
static int
BRANCH_COUPLING_TIGHT
static int
BRANCH_COUPLING_UNSET
Represents an unset value forgetBranchCoupling()
.static int
SHARING_SCOPE_SHAREABLE
static int
SHARING_SCOPE_UNSHAREABLE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getAuth()
int
getBranchCoupling()
int
getCommitPriority()
java.lang.String
getDescription()
int
getIsolationLevel()
java.lang.String
getLoginConfigurationName()
java.util.List<? extends ResourceInfo.Property>
getLoginPropertyList()
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).int
getSharingScope()
java.lang.String
getType()
-
-
-
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_NONE
Connection.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
-
-