Class TopicConnectionRequest

  • All Implemented Interfaces:
    jakarta.resource.spi.ConnectionRequestInfo

    public class TopicConnectionRequest
    extends ConnectionRequest
    A TopicConnectionRequest instance wraps a user connection request for performing PubSub messaging.
    • Constructor Detail

      • TopicConnectionRequest

        public TopicConnectionRequest​(String userName,
                                      String password,
                                      String identityClass)
        Constructs a TopicConnectionRequest instance.
        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:
        hashCode in interface jakarta.resource.spi.ConnectionRequestInfo
        Overrides:
        hashCode in class ConnectionRequest