com.ibm.wsspi.resource

Interface ResourceInfo

All known subinterfaces:
ResourceConfig

  1. public interface ResourceInfo
Information about a resource.

This interface is not intended to be implemented by clients.


Nested Class Summary

Modifier and Type Interface and Description
  1. static interface
ResourceInfo.Property

Field Summary

Modifier and Type Field and Description
  1. static
  2. int
AUTH_APPLICATION
  1. static
  2. int
AUTH_CONTAINER
  1. static
  2. int
BRANCH_COUPLING_LOOSE
  1. static
  2. int
BRANCH_COUPLING_TIGHT
  1. static
  2. int
BRANCH_COUPLING_UNSET
Represents an unset value for getBranchCoupling().
  1. static
  2. int
SHARING_SCOPE_SHAREABLE
  1. static
  2. int
SHARING_SCOPE_UNSHAREABLE

Method Summary

Modifier and Type Method and Description
  1. int
getAuth()
  1. int
getBranchCoupling()
  1. int
getCommitPriority()
  1. java.lang.String
getDescription()
  1. int
getIsolationLevel()
  1. java.lang.String
getLoginConfigurationName()
  1. java.util.List<? extends ResourceInfo.Property>
getLoginPropertyList()
  1. 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).
  1. int
getSharingScope()
  1. java.lang.String
getType()

Field Detail

AUTH_CONTAINER

  1. static final int AUTH_CONTAINER
See Also:

AUTH_APPLICATION

  1. static final int AUTH_APPLICATION
See Also:

SHARING_SCOPE_SHAREABLE

  1. static final int SHARING_SCOPE_SHAREABLE
See Also:

SHARING_SCOPE_UNSHAREABLE

  1. static final int SHARING_SCOPE_UNSHAREABLE
See Also:

BRANCH_COUPLING_UNSET

  1. static final int BRANCH_COUPLING_UNSET
Represents an unset value for getBranchCoupling().
See Also:

BRANCH_COUPLING_LOOSE

  1. static final int BRANCH_COUPLING_LOOSE
See Also:

BRANCH_COUPLING_TIGHT

  1. static final int BRANCH_COUPLING_TIGHT
See Also:

Method Detail

getName

  1. 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

  1. java.lang.String getDescription( )
Returns:
the description, or null if unset

getType

  1. java.lang.String getType()
Returns:
the class type name (e.g., javax.sql.DataSource)

getAuth

  1. int getAuth()
Returns:
the authentication type

getSharingScope

  1. int getSharingScope()
Returns:
the sharing scope

getLoginConfigurationName

  1. java.lang.String getLoginConfigurationName( )
Returns:
the LoginConfigurationName for this object

getLoginPropertyList

  1. java.util.List<? extends ResourceInfo.Property> getLoginPropertyList( )
Returns:
the non-null login properties

getIsolationLevel

  1. 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

  1. int getCommitPriority()
Returns:
the commit priority, or 0 if unspecified

getBranchCoupling

  1. int getBranchCoupling()
Returns: