public class ActiveMQRAConnectionRequestInfo extends Object implements javax.resource.spi.ConnectionRequestInfo
Constructor and Description |
---|
ActiveMQRAConnectionRequestInfo(ActiveMQRAProperties prop,
int type)
Constructor
|
ActiveMQRAConnectionRequestInfo(boolean transacted,
int acknowledgeMode,
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(ActiveMQRAProperties 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 ActiveMQRAConnectionRequestInfo(ActiveMQRAProperties prop, int type)
prop
- The resource adapter propertiestype
- The connection typepublic ActiveMQRAConnectionRequestInfo(boolean transacted, int acknowledgeMode, int type)
transacted
- Use transactionsacknowledgeMode
- The acknowledge modetype
- The connection typepublic void setDefaults(ActiveMQRAProperties 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 The Apache Software Foundation. All rights reserved.