org.objectweb.speedo.jca
Class JDOConnectionSpec

java.lang.Object
  extended byorg.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)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

user

public java.lang.String user

password

public java.lang.String password
Constructor Detail

JDOConnectionSpec

public JDOConnectionSpec(java.lang.String user,
                         java.lang.String password)
Method Detail

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()