Package org.ow2.joram.jakarta.connector
Class TopicConnectionRequest
- java.lang.Object
-
- org.ow2.joram.jakarta.connector.ConnectionRequest
-
- org.ow2.joram.jakarta.connector.TopicConnectionRequest
-
- All Implemented Interfaces:
jakarta.resource.spi.ConnectionRequestInfo
public class TopicConnectionRequest extends ConnectionRequest
ATopicConnectionRequestinstance wraps a user connection request for performing PubSub messaging.
-
-
Field Summary
-
Fields inherited from class org.ow2.joram.jakarta.connector.ConnectionRequest
identityClass, password, userName
-
-
Constructor Summary
Constructors Constructor Description TopicConnectionRequest(String userName, String password, String identityClass)Constructs aTopicConnectionRequestinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description inthashCode()Returns a code based on the wrapped user identity.StringtoString()-
Methods inherited from class org.ow2.joram.jakarta.connector.ConnectionRequest
equals, getIdentityClass, getPassword, getUserName
-
-
-
-
Constructor Detail
-
TopicConnectionRequest
public TopicConnectionRequest(String userName, String password, String identityClass)
Constructs aTopicConnectionRequestinstance.- Parameters:
userName- Name of the user requesting a connection.password- Password of the user requesting a connection.identityClass- identity class name
-
-
Method Detail
-
hashCode
public int hashCode()
Returns a code based on the wrapped user identity.- Specified by:
hashCodein interfacejakarta.resource.spi.ConnectionRequestInfo- Overrides:
hashCodein classConnectionRequest
-
toString
public String toString()
- Overrides:
toStringin classConnectionRequest
-
-