Package org.jboss.resource.adapter.jms
Class JmsConnectionRequestInfo
- java.lang.Object
-
- org.jboss.resource.adapter.jms.JmsConnectionRequestInfo
-
- All Implemented Interfaces:
javax.resource.spi.ConnectionRequestInfo
public class JmsConnectionRequestInfo extends Object implements javax.resource.spi.ConnectionRequestInfo
Request information used in pooling- Author:
- Peter Antman., Adrian Brock
-
-
Constructor Summary
Constructors Constructor Description JmsConnectionRequestInfo(boolean transacted, int acknowledgeMode, int type)Create with specified properties.JmsConnectionRequestInfo(JmsMCFProperties prop)Creats with the MCF configured properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)intgetAcknowledgeMode()StringgetClientID()char[]getPassword()intgetType()StringgetUserName()inthashCode()booleanisTransacted()voidsetClientID(String clientID)voidsetDefaults(JmsMCFProperties prop)Fill in default values if missing.voidsetPassword(char[] password)voidsetPassword(String password)voidsetUserName(String name)StringtoString()
-
-
-
Constructor Detail
-
JmsConnectionRequestInfo
public JmsConnectionRequestInfo(JmsMCFProperties prop)
Creats with the MCF configured properties.- Parameters:
prop-
-
JmsConnectionRequestInfo
public JmsConnectionRequestInfo(boolean transacted, int acknowledgeMode, int type)Create with specified properties.
-
-
Method Detail
-
setDefaults
public void setDefaults(JmsMCFProperties prop)
Fill in default values if missing. Only applies to user and password.
-
getUserName
public String getUserName()
-
setUserName
public void setUserName(String name)
-
getPassword
public char[] getPassword()
-
setPassword
public void setPassword(char[] password)
-
setPassword
public void setPassword(String password)
-
getClientID
public String getClientID()
-
setClientID
public void setClientID(String clientID)
-
isTransacted
public boolean isTransacted()
-
getAcknowledgeMode
public int getAcknowledgeMode()
-
getType
public int getType()
-
equals
public boolean equals(Object obj)
-
hashCode
public int hashCode()
-
-