Interface ResourceInfo

  • All Known Subinterfaces:
    ResourceConfig

    public interface ResourceInfo
    Information about a resource.

    This interface is not intended to be implemented by clients.

    • 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)
      • 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