cgl.narada.wsinfra.wsr.impl
Class WsrSourceGroupMonitorFactoryImpl

java.lang.Object
  extended bycgl.narada.wsinfra.wsr.impl.WsrSourceGroupMonitorFactoryImpl
All Implemented Interfaces:
WsrSourceGroupMonitorFactory

public class WsrSourceGroupMonitorFactoryImpl
extends Object
implements WsrSourceGroupMonitorFactory

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


Method Summary
static WsrSourceGroupMonitorFactory getInstance()
           
 WsrSourceGroupMonitor getWsrSourceGroupMonitor(String configInfo, WsMessageFlow wsMessageFlow)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static WsrSourceGroupMonitorFactory getInstance()

getWsrSourceGroupMonitor

public WsrSourceGroupMonitor getWsrSourceGroupMonitor(String configInfo,
                                                      WsMessageFlow wsMessageFlow)
                                               throws WsrStorageException,
                                                      DeploymentException
Specified by:
getWsrSourceGroupMonitor in interface WsrSourceGroupMonitorFactory
Throws:
WsrStorageException
DeploymentException