org.hornetq.ra
public class HornetQRAConnectionRequestInfo extends Object implements javax.resource.spi.ConnectionRequestInfo
Constructor and Description |
---|
HornetQRAConnectionRequestInfo(boolean transacted,
int acknowledgeMode,
int type)
Constructor
|
HornetQRAConnectionRequestInfo(HornetQRAProperties prop,
int type)
Constructor
|
HornetQRAConnectionRequestInfo(int type)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
int |
getAcknowledgeMode()
Get the acknowledge mode
|
String |
getClientID()
Get the client id
|
String |
getPassword()
Get the password
|
int |
getType()
Get the connection type
|
String |
getUserName()
Get the user name
|
int |
hashCode()
Return the hash code for the object
|
boolean |
isTransacted()
Use transactions
|
void |
setClientID(String clientID)
Set the client id
|
void |
setDefaults(HornetQRAProperties prop)
Fill in default values if they are missing
|
void |
setPassword(String password)
Set the password
|
void |
setUserName(String userName)
Set the user name
|
String |
toString() |
public HornetQRAConnectionRequestInfo(HornetQRAProperties prop, int type)
prop
- The resource adapter propertiestype
- The connection typepublic HornetQRAConnectionRequestInfo(int type)
type
- The connection typepublic HornetQRAConnectionRequestInfo(boolean transacted, int acknowledgeMode, int type)
transacted
- Use transactionsacknowledgeMode
- The acknowledge modetype
- The connection typepublic void setDefaults(HornetQRAProperties prop)
prop
- The resource adapter propertiespublic String getUserName()
public void setUserName(String userName)
userName
- The valuepublic String getPassword()
public void setPassword(String password)
password
- The valuepublic String getClientID()
public void setClientID(String clientID)
clientID
- The valuepublic int getType()
public boolean isTransacted()
public int getAcknowledgeMode()
public boolean equals(Object obj)
public int hashCode()
Copyright © 2016 JBoss, a division of Red Hat. All Rights Reserved.