|
EclipseLink 2.3.2, build 'v20111125-r10461' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.sessions.coordination.TransportManager
org.eclipse.persistence.sessions.coordination.broadcast.BroadcastTransportManager
org.eclipse.persistence.sessions.coordination.jms.JMSPublishingTransportManager
org.eclipse.persistence.sessions.coordination.jms.JMSTopicTransportManager
public class JMSTopicTransportManager
Purpose: Provide a transport implementation for the Remote Command Module (RCM) that both publishes and subscribes to a JMS topic.
Description: This class manages two connections to the same known JMS Topic: external connection for publishing, local connection for receiving messages.
Field Summary |
---|
Fields inherited from class org.eclipse.persistence.sessions.coordination.jms.JMSPublishingTransportManager |
---|
connectionFactoryName, DEFAULT_CONNECTION_FACTORY, DEFAULT_TOPIC, reuseJMSTopicPublisher |
Fields inherited from class org.eclipse.persistence.sessions.coordination.broadcast.BroadcastTransportManager |
---|
topicName |
Constructor Summary | |
---|---|
JMSTopicTransportManager(RemoteCommandManager rcm)
|
Method Summary | |
---|---|
void |
createLocalConnection()
INTERNAL: JMSTopicTransportManager may have only two connections: one local and one external. |
java.util.Hashtable |
getConnectionsToExternalServicesForCommandPropagation()
INTERNAL: In case there's no external connection attempts to create one, if that's successful then (in case there is no local connection, too) attempts to create local connection in a separate thread. |
void |
removeLocalConnection()
INTERNAL: caches local connection, set localConnection to null, closes the cached connection in a new thread. |
Methods inherited from class org.eclipse.persistence.sessions.coordination.jms.JMSPublishingTransportManager |
---|
createConnection, createConnections, createExternalConnection, getReuseJMSTopicPublisher, getTopic, getTopicConnectionFactory, getTopicConnectionFactoryName, getTopicHostUrl, initialize, setNamingServiceType, setShouldReuseJMSTopicPublisher, setTopicConnectionFactoryName, setTopicHostUrl |
Methods inherited from class org.eclipse.persistence.sessions.coordination.broadcast.BroadcastTransportManager |
---|
addConnectionToExternalService, connectBackToRemote, createConnection, createDiscoveryManager, getTopicName, setTopicName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JMSTopicTransportManager(RemoteCommandManager rcm)
Method Detail |
---|
public void createLocalConnection()
createLocalConnection
in class JMSPublishingTransportManager
public java.util.Hashtable getConnectionsToExternalServicesForCommandPropagation()
getConnectionsToExternalServicesForCommandPropagation
in class JMSPublishingTransportManager
public void removeLocalConnection()
removeLocalConnection
in class JMSPublishingTransportManager
|
EclipseLink 2.3.2, build 'v20111125-r10461' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |