|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.messaging.ra.JBMConnectionRequestInfo
public class JBMConnectionRequestInfo
Connection request information
Constructor Summary | |
---|---|
JBMConnectionRequestInfo(boolean transacted,
int acknowledgeMode,
int type)
Constructor |
|
JBMConnectionRequestInfo(int type)
Constructor |
|
JBMConnectionRequestInfo(JBMRAProperties prop,
int type)
Constructor |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. |
int |
getAcknowledgeMode()
Get the acknowledge mode |
java.lang.String |
getClientID()
Get the client id |
java.lang.String |
getPassword()
Get the password |
int |
getType()
Get the connection type |
java.lang.String |
getUserName()
Get the user name |
int |
hashCode()
Return the hash code for the object |
boolean |
isTransacted()
Use transactions |
boolean |
isUseXA()
Use XA communication |
void |
setClientID(java.lang.String clientID)
Set the client id |
void |
setDefaults(JBMRAProperties prop)
Fill in default values if they are missing |
void |
setPassword(java.lang.String password)
Set the password |
void |
setUserName(java.lang.String userName)
Set the user name |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JBMConnectionRequestInfo(JBMRAProperties prop, int type)
prop
- The resource adapter propertiestype
- The connection typepublic JBMConnectionRequestInfo(int type)
type
- The connection typepublic JBMConnectionRequestInfo(boolean transacted, int acknowledgeMode, int type)
transacted
- Use transactionsacknowledgeMode
- The acknowledge modetype
- The connection typeMethod Detail |
---|
public void setDefaults(JBMRAProperties prop)
prop
- The resource adapter propertiespublic java.lang.String getUserName()
public void setUserName(java.lang.String userName)
userName
- The valuepublic java.lang.String getPassword()
public void setPassword(java.lang.String password)
password
- The valuepublic java.lang.String getClientID()
public void setClientID(java.lang.String clientID)
clientID
- The valuepublic int getType()
public boolean isUseXA()
public boolean isTransacted()
public int getAcknowledgeMode()
public boolean equals(java.lang.Object obj)
equals
in interface javax.resource.spi.ConnectionRequestInfo
equals
in class java.lang.Object
obj
- Object with which to compare
public int hashCode()
hashCode
in interface javax.resource.spi.ConnectionRequestInfo
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |