org.jboss.resource.adapter.jms
Class JmsConnectionRequestInfo

java.lang.Object
  extended byorg.jboss.resource.adapter.jms.JmsConnectionRequestInfo
All Implemented Interfaces:
ConnectionRequestInfo (src)

public class JmsConnectionRequestInfo
extends java.lang.Object
implements ConnectionRequestInfo (src)

Request information used in pooling Created: Thu Mar 29 16:29:55 2001


Constructor Summary
JmsConnectionRequestInfo(boolean transacted, int acknowledgeMode, int type)
          Create with specified properties.
JmsConnectionRequestInfo(JmsMCFProperties (src)  prop)
          Creats with the MCF configured properties.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Tests object for equality
 int getAcknowledgeMode()
           
 java.lang.String getClientID()
           
 java.lang.String getPassword()
           
 int getType()
           
 java.lang.String getUserName()
           
 int hashCode()
          Generates a hashCode for this object
 boolean isTransacted()
           
 void setClientID(java.lang.String clientID)
           
 void setDefaults(JmsMCFProperties (src)  prop)
          Fill in default values if missing.
 void setPassword(java.lang.String password)
           
 void setUserName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmsConnectionRequestInfo

public JmsConnectionRequestInfo(JmsMCFProperties (src)  prop)
Creats with the MCF configured properties.


JmsConnectionRequestInfo

public JmsConnectionRequestInfo(boolean transacted,
                                int acknowledgeMode,
                                int type)
Create with specified properties.

Method Detail

setDefaults

public void setDefaults(JmsMCFProperties (src)  prop)
Fill in default values if missing. Only applies to user and password.


getUserName

public java.lang.String getUserName()

setUserName

public void setUserName(java.lang.String name)

getPassword

public java.lang.String getPassword()

setPassword

public void setPassword(java.lang.String password)

getClientID

public java.lang.String getClientID()

setClientID

public void setClientID(java.lang.String clientID)

isTransacted

public boolean isTransacted()

getAcknowledgeMode

public int getAcknowledgeMode()

getType

public int getType()

equals

public boolean equals(java.lang.Object obj)
Description copied from interface: ConnectionRequestInfo (src)
Tests object for equality

Specified by:
equals in interface ConnectionRequestInfo (src)

hashCode

public int hashCode()
Description copied from interface: ConnectionRequestInfo (src)
Generates a hashCode for this object

Specified by:
hashCode in interface ConnectionRequestInfo (src)