org.codehaus.activemq.ra
Class ActiveMQConnectionRequestInfo

java.lang.Object
  extended byorg.codehaus.activemq.ra.ActiveMQConnectionRequestInfo
All Implemented Interfaces:
Cloneable, ConnectionRequestInfo, Serializable

public class ActiveMQConnectionRequestInfo
extends Object
implements ConnectionRequestInfo, Serializable, Cloneable

Version:
$Revision: 1.6 $
See Also:
Serialized Form

Field Summary
(package private)  String clientid
           
(package private)  String password
           
(package private)  String serverUrl
           
(package private)  String userName
           
(package private)  boolean xa
           
 
Constructor Summary
ActiveMQConnectionRequestInfo()
           
 
Method Summary
 ActiveMQConnectionRequestInfo copy()
           
 boolean equals(Object o)
           
 String getClientid()
           
 String getPassword()
           
 String getServerUrl()
           
 String getUserName()
           
 int hashCode()
           
 boolean isXa()
           
 void setClientid(String clientid)
           
 void setPassword(String password)
           
 void setServerUrl(String url)
           
 void setUserName(String userid)
           
 void setXa(boolean xa)
          Enables or disables whether XA connections should be created
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userName

String userName

password

String password

serverUrl

String serverUrl

clientid

String clientid

xa

boolean xa
Constructor Detail

ActiveMQConnectionRequestInfo

public ActiveMQConnectionRequestInfo()
Method Detail

copy

public ActiveMQConnectionRequestInfo copy()

hashCode

public int hashCode()
Specified by:
hashCode in interface ConnectionRequestInfo
See Also:
ConnectionRequestInfo.hashCode()

equals

public boolean equals(Object o)
Specified by:
equals in interface ConnectionRequestInfo
See Also:
ConnectionRequestInfo.equals(java.lang.Object)

getServerUrl

public String getServerUrl()
Returns:
Returns the url.

setServerUrl

public void setServerUrl(String url)
Parameters:
url - The url to set.

getPassword

public String getPassword()
Returns:
Returns the password.

setPassword

public void setPassword(String password)
Parameters:
password - The password to set.

getUserName

public String getUserName()
Returns:
Returns the userid.

setUserName

public void setUserName(String userid)
Parameters:
userid - The userid to set.

getClientid

public String getClientid()
Returns:
Returns the clientid.

setClientid

public void setClientid(String clientid)
Parameters:
clientid - The clientid to set.

isXa

public boolean isXa()
Returns:
Is an XA connection to be created?

setXa

public void setXa(boolean xa)
Enables or disables whether XA connections should be created



Copyright © 2004 Protique, Ltd.. All Rights Reserved.