cgl.narada.wsinfra.wsrm
Interface WsrmSequenceMonitorFactory

All Known Implementing Classes:
WsrmSequenceMonitorFactoryImpl

public interface WsrmSequenceMonitorFactory

This is a factory class which ensures that there is only instance of the SequenceMonitorThread running for a given database. If there are multiple databases with multiple sources/sinks this factory class will still work fine.


Method Summary
 WsrmSequenceMonitor getWsrmSequenceMonitor(String configInfo, WsMessageFlow wsMessageFlow)
          Gets a sequence monitor for the specified configuration file.
 

Method Detail

getWsrmSequenceMonitor

public WsrmSequenceMonitor getWsrmSequenceMonitor(String configInfo,
                                                  WsMessageFlow wsMessageFlow)
                                           throws WsrmStorageException,
                                                  DeploymentException
Gets a sequence monitor for the specified configuration file. For a given configuration file (based on the absolute path name) only one instance of the WsrmSequenceMonitor will be running within a given JVM instance.

Throws:
WsrmStorageException
DeploymentException