|
EclipseLink 1.1.0_ 1.1.0.r3634 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
public abstract class BroadcastTransportManager
Purpose: Base class transport manager for broadcasting RCM protocols: JMS and Oc4jJGroups.
Description: The class doesn't use DiscoveryManager - instead the class (and it's ancestors) implement createConnections method that creates all the necessary connections. This method is called by RemoteCommendManager during initialization.
| Field Summary | |
|---|---|
protected java.lang.String |
topicName
|
| Constructor Summary | |
|---|---|
BroadcastTransportManager(RemoteCommandManager rcm)
|
|
| Method Summary | |
|---|---|
void |
addConnectionToExternalService(org.eclipse.persistence.internal.sessions.coordination.RemoteConnection connection)
INTERNAL: Add a remote Connection to a remote service. |
void |
connectBackToRemote(org.eclipse.persistence.internal.sessions.coordination.RemoteConnection connection)
INTERNAL: Prepare receiving messages by registering this connection as a listener to the Subscriber. |
org.eclipse.persistence.internal.sessions.coordination.RemoteConnection |
createConnection(ServiceId serviceId)
INTERNAL: No-op implementation of super abstract method since there is only one connection to a known topic. |
void |
createConnections()
INTERNAL: BroadcastTransportManager doesn't use DiscoveryManager (createDiscoveryManager method retuns null) therefore this method called during RCM initialization to create all the necessary connections. |
DiscoveryManager |
createDiscoveryManager()
ADVANCED: BroadcastTransportManager doesn't use DiscoveryManager - instead RemoteCommandManager calls createConnections method during initialization. |
java.lang.String |
getTopicName()
PUBLIC: Return the topic name that this TransportManager will be connecting to. |
void |
setTopicName(java.lang.String newTopicName)
PUBLIC: Configure the Topic name for the Topic that this TransportManager will be connecting to. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String topicName
| Constructor Detail |
|---|
public BroadcastTransportManager(RemoteCommandManager rcm)
| Method Detail |
|---|
public DiscoveryManager createDiscoveryManager()
createDiscoveryManager in class TransportManagerpublic void createConnections()
createConnections in class TransportManagerpublic org.eclipse.persistence.internal.sessions.coordination.RemoteConnection createConnection(ServiceId serviceId)
createConnection in class TransportManagerpublic void addConnectionToExternalService(org.eclipse.persistence.internal.sessions.coordination.RemoteConnection connection)
addConnectionToExternalService in class TransportManager
public void connectBackToRemote(org.eclipse.persistence.internal.sessions.coordination.RemoteConnection connection)
throws java.lang.Exception
connectBackToRemote in class TransportManagerjava.lang.Exceptionpublic java.lang.String getTopicName()
public void setTopicName(java.lang.String newTopicName)
|
EclipseLink 1.1.0_ 1.1.0.r3634 API Reference | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||