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 -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
Represents an unset value forgetBranchCoupling()
.static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionint
getAuth()
int
int
int
List<? extends ResourceInfo.Property>
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
getType()
-
Field Details
-
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_UNSETRepresents an unset value forgetBranchCoupling()
.- 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 Details
-
getName
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
String getDescription()- Returns:
- the description, or null if unset
-
getType
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
String getLoginConfigurationName()- Returns:
- the LoginConfigurationName for this object
-
getLoginPropertyList
List<? extends ResourceInfo.Property> getLoginPropertyList()- Returns:
- the non-null login properties
-
getIsolationLevel
int getIsolationLevel()- Returns:
- the configured isolation level
-
getCommitPriority
int getCommitPriority()- Returns:
- the commit priority, or 0 if unspecified
-
getBranchCoupling
int getBranchCoupling()- Returns:
- the branch coupling
-