Class HazelcastPublishingTransportManager


  • public class HazelcastPublishingTransportManager
    extends org.eclipse.persistence.sessions.coordination.broadcast.BroadcastTransportManager
    Hazelcast based BroadcastTransportManager.
    Author:
    Sven Diedrichsen
    • Field Summary

      • Fields inherited from class org.eclipse.persistence.sessions.coordination.broadcast.BroadcastTransportManager

        topicName
      • Fields inherited from class org.eclipse.persistence.sessions.coordination.TransportManager

        connectionsToExternalServices, DEFAULT_CONTEXT_FACTORY, DEFAULT_DEDICATED_CONNECTION_KEY, DEFAULT_DEDICATED_CONNECTION_VALUE, DEFAULT_IIOP_URL_PORT, DEFAULT_IIOP_URL_PROTOCOL, DEFAULT_NAMING_SERVICE, DEFAULT_REMOVE_CONNECTION_ON_ERROR_MODE, DEFAULT_URL_PORT, DEFAULT_URL_PROTOCOL, DEFAULT_USER_NAME, JNDI_NAMING_SERVICE, localConnection, localContextProperties, namingServiceType, rcm, REGISTRY_NAMING_SERVICE, remoteContextProperties, securableObjectHolder, shouldRemoveConnectionOnError
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void createLocalConnection()
      Creates the hz connection.
      Map<String,​org.eclipse.persistence.internal.sessions.coordination.RemoteConnection> getConnectionsToExternalServicesForCommandPropagation()
      Method to return the connection with the hazelcast topic.
      void removeLocalConnection()
      Closes and removes the connection.
      • Methods inherited from class org.eclipse.persistence.sessions.coordination.broadcast.BroadcastTransportManager

        addConnectionToExternalService, connectBackToRemote, createConnection, createConnections, createDiscoveryManager, getTopicName, setTopicName
      • Methods inherited from class org.eclipse.persistence.sessions.coordination.TransportManager

        decrypt, discardConnections, encrypt, getConnectionsToExternalServices, getConnectionToLocalHost, getContext, getEncryptedPassword, getInitialContextFactoryName, getLocalContextProperties, getNamingServiceType, getPassword, getRemoteCommandManager, getRemoteContextProperties, getRemoteHostContext, getUserName, hasPassword, initialize, newSunCORBATransportManager, removeAllConnectionsToExternalServices, removeConnectionToExternalService, setConfig, setEncryptedPassword, setEncryptionClassName, setInitialContextFactoryName, setLocalContextProperties, setNamingServiceType, setPassword, setRemoteCommandManager, setRemoteContextProperties, setShouldRemoveConnectionOnError, setUserName, shouldRemoveConnectionOnError
    • Constructor Detail

      • HazelcastPublishingTransportManager

        public HazelcastPublishingTransportManager()
    • Method Detail

      • getConnectionsToExternalServicesForCommandPropagation

        public Map<String,​org.eclipse.persistence.internal.sessions.coordination.RemoteConnection> getConnectionsToExternalServicesForCommandPropagation()
        Method to return the connection with the hazelcast topic.
        Overrides:
        getConnectionsToExternalServicesForCommandPropagation in class org.eclipse.persistence.sessions.coordination.TransportManager
        Returns:
        Map containing the hz connection.
      • createLocalConnection

        public void createLocalConnection()
        Creates the hz connection.
        Specified by:
        createLocalConnection in class org.eclipse.persistence.sessions.coordination.TransportManager
      • removeLocalConnection

        public void removeLocalConnection()
        Closes and removes the connection.
        Specified by:
        removeLocalConnection in class org.eclipse.persistence.sessions.coordination.TransportManager