com.ibm.wsspi.resource
Interface ResourceInfo
All known subinterfaces:
- public interface ResourceInfo
This interface is not intended to be implemented by clients.
Nested Class Summary
Modifier and Type | Interface and Description |
---|---|
|
ResourceInfo.Property
|
Field Summary
Modifier and Type | Field and Description |
---|---|
|
AUTH_APPLICATION
|
|
AUTH_CONTAINER
|
|
BRANCH_COUPLING_LOOSE
|
|
BRANCH_COUPLING_TIGHT
|
|
BRANCH_COUPLING_UNSET
Represents an unset value for
getBranchCoupling() .
|
|
SHARING_SCOPE_SHAREABLE
|
|
SHARING_SCOPE_UNSHAREABLE
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getAuth()
|
|
getBranchCoupling()
|
|
getCommitPriority()
|
|
getDescription()
|
|
getIsolationLevel()
|
|
getLoginConfigurationName()
|
|
getLoginPropertyList()
|
|
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).
|
|
getSharingScope()
|
|
getType()
|
Field Detail
AUTH_CONTAINER
- static final int AUTH_CONTAINER
See Also:
AUTH_APPLICATION
- static final int AUTH_APPLICATION
See Also:
SHARING_SCOPE_SHAREABLE
- static final int SHARING_SCOPE_SHAREABLE
See Also:
SHARING_SCOPE_UNSHAREABLE
- static final int SHARING_SCOPE_UNSHAREABLE
See Also:
BRANCH_COUPLING_UNSET
- static final int BRANCH_COUPLING_UNSET
See Also:
BRANCH_COUPLING_LOOSE
- static final int BRANCH_COUPLING_LOOSE
See Also:
BRANCH_COUPLING_TIGHT
- static final int BRANCH_COUPLING_TIGHT
See Also:
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
- Container -
AUTH_APPLICATION
- Application
getSharingScope
- int getSharingScope()
Returns:
the sharing scope
-
SHARING_SCOPE_SHAREABLE
- Shareable -
SHARING_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
getBranchCoupling()
.