Class JCAConnectionRequestInfo

  • All Implemented Interfaces:
    javax.resource.spi.ConnectionRequestInfo

    public final class JCAConnectionRequestInfo
    extends Object
    implements javax.resource.spi.ConnectionRequestInfo
    This class encapsulates the credentials for creating a session from the repository.
    • Constructor Detail

      • JCAConnectionRequestInfo

        public JCAConnectionRequestInfo​(JCAConnectionRequestInfo cri)
        Construct the request info.
      • JCAConnectionRequestInfo

        public JCAConnectionRequestInfo​(Credentials creds,
                                        String workspace)
        Construct the request info.
    • Method Detail

      • getWorkspace

        public String getWorkspace()
        Return the workspace.
      • getCredentials

        public Credentials getCredentials()
        Return the credentials.
      • hashCode

        public int hashCode()
        Return the hash code.
        Specified by:
        hashCode in interface javax.resource.spi.ConnectionRequestInfo
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(Object o)
        Return true if equals.
        Specified by:
        equals in interface javax.resource.spi.ConnectionRequestInfo
        Overrides:
        equals in class Object