org.talend.esb.sam.agent.lifecycle
Class ServiceListenerImpl

java.lang.Object
  extended by org.talend.esb.sam.agent.lifecycle.ServiceListenerImpl
All Implemented Interfaces:
org.apache.cxf.endpoint.ServerLifeCycleListener

public class ServiceListenerImpl
extends Object
implements org.apache.cxf.endpoint.ServerLifeCycleListener

This ServerLifeCycleListener impl used to implement the feature of support web service start/stop event


Constructor Summary
ServiceListenerImpl()
           
 
Method Summary
 void setMonitoringServiceClient(org.talend.esb.sam.common.service.MonitoringService monitoringServiceClient)
           
 void setQueue(Queue<org.talend.esb.sam.common.event.Event> queue)
           
 void setSendLifecycleEvent(boolean sendLifecycleEvent)
           
 void startServer(org.apache.cxf.endpoint.Server server)
           
 void stopServer(org.apache.cxf.endpoint.Server server)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceListenerImpl

public ServiceListenerImpl()
Method Detail

setSendLifecycleEvent

public void setSendLifecycleEvent(boolean sendLifecycleEvent)

setQueue

public void setQueue(Queue<org.talend.esb.sam.common.event.Event> queue)

setMonitoringServiceClient

public void setMonitoringServiceClient(org.talend.esb.sam.common.service.MonitoringService monitoringServiceClient)

startServer

public void startServer(org.apache.cxf.endpoint.Server server)
Specified by:
startServer in interface org.apache.cxf.endpoint.ServerLifeCycleListener

stopServer

public void stopServer(org.apache.cxf.endpoint.Server server)
Specified by:
stopServer in interface org.apache.cxf.endpoint.ServerLifeCycleListener


Copyright © 2011 Talend Inc.. All Rights Reserved.