Package org.apache.activemq.artemis.ra
Class ActiveMQRAConnectionRequestInfo
java.lang.Object
org.apache.activemq.artemis.ra.ActiveMQRAConnectionRequestInfo
- All Implemented Interfaces:
ConnectionRequestInfo
-
Constructor Summary
ConstructorsConstructorDescriptionActiveMQRAConnectionRequestInfo(boolean transacted, int acknowledgeMode, int type) ActiveMQRAConnectionRequestInfo(ActiveMQRAProperties prop, int type) -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks whether this instance is equal to another.intintgetType()inthashCode()Returns the hashCode of the ConnectionRequestInfo.booleanvoidsetClientID(String clientID) voidFill in default values if they are missingvoidsetPassword(String password) voidsetUserName(String userName) toString()
-
Constructor Details
-
ActiveMQRAConnectionRequestInfo
-
ActiveMQRAConnectionRequestInfo
public ActiveMQRAConnectionRequestInfo(boolean transacted, int acknowledgeMode, int type)
-
-
Method Details
-
setDefaults
Fill in default values if they are missing- Parameters:
prop- The resource adapter properties
-
getUserName
-
setUserName
-
getPassword
-
setPassword
-
getClientID
-
setClientID
-
getType
public int getType() -
isTransacted
public boolean isTransacted() -
getAcknowledgeMode
public int getAcknowledgeMode() -
equals
Description copied from interface:ConnectionRequestInfoChecks whether this instance is equal to another. Since connectionRequestInfo is defined specific to a resource adapter, the resource adapter is required to implement this method. The conditions for equality are specific to the resource adapter.- Specified by:
equalsin interfaceConnectionRequestInfo- Overrides:
equalsin classObject- Parameters:
obj- to check- Returns:
- True if the two instances are equal.
-
hashCode
public int hashCode()Description copied from interface:ConnectionRequestInfoReturns the hashCode of the ConnectionRequestInfo.- Specified by:
hashCodein interfaceConnectionRequestInfo- Overrides:
hashCodein classObject- Returns:
- hash code os this instance
-
toString
-