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 booleanequals(Object o)Return true if equals.CredentialsgetCredentials()Return the credentials.StringgetWorkspace()Return the workspace.inthashCode()Return the hash code.StringtoString()
-
-
-
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.
-
-