Package org.apache.jackrabbit.jca
Class JCAConnectionRequestInfo
- java.lang.Object
-
- org.apache.jackrabbit.jca.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 Summary
Constructors Constructor Description JCAConnectionRequestInfo(Credentials creds, String workspace)
Construct the request info.JCAConnectionRequestInfo(JCAConnectionRequestInfo cri)
Construct the request info.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Return true if equals.Credentials
getCredentials()
Return the credentials.String
getWorkspace()
Return the workspace.int
hashCode()
Return the hash code.String
toString()
-
-
-
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.
-
equals
public boolean equals(Object o)
Return true if equals.
-
-