Package io.jmix.eclipselink.impl.support
Class JmixEclipseLinkTransportManager
java.lang.Object
org.eclipse.persistence.sessions.coordination.TransportManager
org.eclipse.persistence.sessions.coordination.broadcast.BroadcastTransportManager
io.jmix.eclipselink.impl.support.JmixEclipseLinkTransportManager
@Component("eclipselink_JmixEclipseLinkTransportManager")
@Scope("prototype")
public class JmixEclipseLinkTransportManager
extends org.eclipse.persistence.sessions.coordination.broadcast.BroadcastTransportManager
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.beans.factory.ObjectProvider<JmixEclipseLinkRemoteConnection>
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
-
Constructor Summary
ConstructorDescriptionJmixEclipseLinkTransportManager
(org.eclipse.persistence.sessions.coordination.RemoteCommandManager rcm) -
Method Summary
Modifier and TypeMethodDescriptionprotected JmixEclipseLinkRemoteConnection
void
void
void
void
void
void
setRemoteCommandManager
(org.eclipse.persistence.sessions.coordination.RemoteCommandManager rcm) Methods inherited from class org.eclipse.persistence.sessions.coordination.broadcast.BroadcastTransportManager
addConnectionToExternalService, connectBackToRemote, createConnection, 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, newTransportManager, removeAllConnectionsToExternalServices, removeConnectionToExternalService, setEncryptedPassword, setEncryptionClassName, setInitialContextFactoryName, setLocalContextProperties, setNamingServiceType, setPassword, setRemoteContextProperties, setShouldRemoveConnectionOnError, setUserName, shouldRemoveConnectionOnError
-
Field Details
-
connectionProvider
@Autowired protected org.springframework.beans.factory.ObjectProvider<JmixEclipseLinkRemoteConnection> connectionProvider
-
-
Constructor Details
-
JmixEclipseLinkTransportManager
public JmixEclipseLinkTransportManager(org.eclipse.persistence.sessions.coordination.RemoteCommandManager rcm)
-
-
Method Details
-
createConnection
protected JmixEclipseLinkRemoteConnection createConnection() throws org.eclipse.persistence.exceptions.RemoteCommandManagerException- Throws:
org.eclipse.persistence.exceptions.RemoteCommandManagerException
-
createConnections
public void createConnections()- Overrides:
createConnections
in classorg.eclipse.persistence.sessions.coordination.broadcast.BroadcastTransportManager
-
createExternalConnection
public void createExternalConnection() -
createLocalConnection
public void createLocalConnection()- Specified by:
createLocalConnection
in classorg.eclipse.persistence.sessions.coordination.TransportManager
-
getConnectionsToExternalServicesForCommandPropagation
public Map<String,org.eclipse.persistence.internal.sessions.coordination.RemoteConnection> getConnectionsToExternalServicesForCommandPropagation()- Overrides:
getConnectionsToExternalServicesForCommandPropagation
in classorg.eclipse.persistence.sessions.coordination.TransportManager
-
removeLocalConnection
public void removeLocalConnection()- Specified by:
removeLocalConnection
in classorg.eclipse.persistence.sessions.coordination.TransportManager
-
setConfig
- Overrides:
setConfig
in classorg.eclipse.persistence.sessions.coordination.TransportManager
-
setRemoteCommandManager
public void setRemoteCommandManager(org.eclipse.persistence.sessions.coordination.RemoteCommandManager rcm) - Overrides:
setRemoteCommandManager
in classorg.eclipse.persistence.sessions.coordination.TransportManager
-