|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.overlord.bam.epn.AbstractEPNManager
org.overlord.bam.epn.embedded.EmbeddedEPNManager
public class EmbeddedEPNManager
This class provides the embedded implementation of the EPN Manager.
| Nested Class Summary | |
|---|---|
protected class |
EmbeddedEPNManager.EmbeddedChannel
This is the embedded implementation of the Channel interface. |
protected class |
EmbeddedEPNManager.EmbeddedEPNContainer
The embedded implementation of the EPNContainer. |
protected class |
EmbeddedEPNManager.EPNTask
This class implements the task for dispatching the event list to the node. |
| Nested classes/interfaces inherited from class org.overlord.bam.epn.AbstractEPNManager |
|---|
AbstractEPNManager.NetworkList |
| Field Summary |
|---|
| Fields inherited from interface org.overlord.bam.epn.EPNManager |
|---|
URI |
| Constructor Summary | |
|---|---|
EmbeddedEPNManager()
|
|
| Method Summary | |
|---|---|
void |
close()
This method closes the manager. |
protected void |
currentNetworkChanged(Network oldNet,
Network newNet)
This method is called to handle a change in the current version of a network, due to a new (more recent) version being registered or a current version being unregistered. |
protected EPNContainer |
getContainer()
This method returns the Event Processor Network Container. |
protected Map<String,List<EmbeddedEPNManager.EmbeddedChannel>> |
getEntryPoints()
This method provides access to the registered channels against subjects. |
protected void |
publish(String subject,
EventList events)
This method publishes the event list to the specific subject. |
void |
publish(String subject,
List<? extends Serializable> events)
This method publishes the supplied events to be processed by any network subscribed to the nominated subject. |
protected void |
registerEntryPoints(Network network)
This method registers the network's entry point against its list of subscription subjects. |
protected void |
unregisterEntryPoints(Network network)
This method unregisters the entry points associated with the supplied network. |
| Methods inherited from class org.overlord.bam.epn.AbstractEPNManager |
|---|
addNetworkListener, addNodeListener, dispatchNotificationToListeners, getNetwork, getNetworksForSubject, getNode, notifyListeners, postProcessEvents, preProcessEvents, preProcessEvents, process, register, registerSubjects, removeNetworkListener, removeNodeListener, setLastAccessed, setUsePrePostEventListProcessing, unregister, unregisterSubjects |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EmbeddedEPNManager()
| Method Detail |
|---|
protected EPNContainer getContainer()
getContainer in class AbstractEPNManagerprotected Map<String,List<EmbeddedEPNManager.EmbeddedChannel>> getEntryPoints()
protected void currentNetworkChanged(Network oldNet,
Network newNet)
currentNetworkChanged in class AbstractEPNManageroldNet - The old network versionnewNet - The new network versionprotected void unregisterEntryPoints(Network network)
network - The networkprotected void registerEntryPoints(Network network)
network - The network
public void publish(String subject,
List<? extends Serializable> events)
throws Exception
subject - The subject upon which to publish the eventsevents - The list of events to be processed
Exception - Failed to publish the events
protected void publish(String subject,
EventList events)
throws Exception
subject - The subjectevents - The events
Exception - Failed to publish events
public void close()
throws Exception
close in interface EPNManagerclose in class AbstractEPNManagerException - Failed to close manager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||