public class QpidRAConnectionRequestInfo extends Object implements javax.resource.spi.ConnectionRequestInfo
Constructor and Description |
---|
QpidRAConnectionRequestInfo(boolean transacted,
int acknowledgeMode,
int type)
Constructor
|
QpidRAConnectionRequestInfo(int type)
Constructor
|
QpidRAConnectionRequestInfo(QpidResourceAdapter ra,
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(ConnectionURL connectionURL)
Fill in default values if they are missing
|
void |
setDefaults(QpidResourceAdapter ra)
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 QpidRAConnectionRequestInfo(QpidResourceAdapter ra, int type) throws javax.resource.ResourceException
ra
- The resource adapter.type
- The connection typejavax.resource.ResourceException
public QpidRAConnectionRequestInfo(int type)
type
- The connection typepublic QpidRAConnectionRequestInfo(boolean transacted, int acknowledgeMode, int type)
transacted
- Use transactionsacknowledgeMode
- The acknowledge modetype
- The connection typepublic void setDefaults(ConnectionURL connectionURL)
connectionURL
- The connection URLpublic void setDefaults(QpidResourceAdapter ra) throws javax.resource.ResourceException
ra
- The resource adapterjavax.resource.ResourceException
public 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 © 2006–2016 The Apache Software Foundation. All rights reserved.