org.apache.jackrabbit.jca
Class JCAConnectionRequestInfo

java.lang.Object
  extended by 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
JCAConnectionRequestInfo(Credentials creds, String workspace)
          Construct the request info.
JCAConnectionRequestInfo(JCAConnectionRequestInfo cri)
          Construct the request info.
 
Method Summary
 boolean equals(Object o)
          Return true if equals.
 Credentials getCredentials()
          Return the credentials.
 String getWorkspace()
          Return the workspace.
 int hashCode()
          Return the hash code.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.