com.sun.genericra.outbound
Class ConnectionRequestInfo

java.lang.Object
  extended by com.sun.genericra.outbound.ConnectionRequestInfo
All Implemented Interfaces:
javax.resource.spi.ConnectionRequestInfo

public class ConnectionRequestInfo
extends java.lang.Object
implements javax.resource.spi.ConnectionRequestInfo

Generic JMS resource adapter specific request properties. Username, password and clientId;

Author:
Sivakumar Thyagarajan

Constructor Summary
ConnectionRequestInfo(javax.resource.spi.ManagedConnectionFactory mcf, java.lang.String userName, java.lang.String password)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getClientID()
           
 java.lang.String getPassword()
           
 java.lang.String getUserName()
           
 int hashCode()
          Retrieves the hashcode of the object.
 void setClientID(java.lang.String clientID)
           
 void setPassword(java.lang.String password)
           
 void setUserName(java.lang.String userName)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionRequestInfo

public ConnectionRequestInfo(javax.resource.spi.ManagedConnectionFactory mcf,
                             java.lang.String userName,
                             java.lang.String password)
Method Detail

getClientID

public java.lang.String getClientID()

setClientID

public void setClientID(java.lang.String clientID)

getPassword

public java.lang.String getPassword()

setPassword

public void setPassword(java.lang.String password)

getUserName

public java.lang.String getUserName()

setUserName

public void setUserName(java.lang.String userName)

equals

public boolean equals(java.lang.Object obj)
Specified by:
equals in interface javax.resource.spi.ConnectionRequestInfo
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Retrieves the hashcode of the object.

Specified by:
hashCode in interface javax.resource.spi.ConnectionRequestInfo
Overrides:
hashCode in class java.lang.Object
Returns:
hashCode.