org.objectweb.speedo.jca
Class JDOConnectionSpec
java.lang.Object
org.objectweb.speedo.jca.JDOConnectionSpec
- All Implemented Interfaces:
- javax.resource.spi.ConnectionRequestInfo, javax.resource.cci.ConnectionSpec
- public class JDOConnectionSpec
- extends java.lang.Object
- implements javax.resource.cci.ConnectionSpec, javax.resource.spi.ConnectionRequestInfo
This class represents a connection spec for a JDO Resource adapter (JCA).
It contains the user and the password for a particular PersistenceManager.
- Author:
- S.Chassande-Barrioz
Field Summary |
java.lang.String |
password
|
java.lang.String |
user
|
Constructor Summary |
JDOConnectionSpec(java.lang.String user,
java.lang.String password)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
user
public java.lang.String user
password
public java.lang.String password
JDOConnectionSpec
public JDOConnectionSpec(java.lang.String user,
java.lang.String password)
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interface javax.resource.spi.ConnectionRequestInfo
hashCode
public int hashCode()
- Specified by:
hashCode
in interface javax.resource.spi.ConnectionRequestInfo
toString
public java.lang.String toString()