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

java.lang.Object
  extended by org.talend.esb.sam.agent.lifecycle.AbstractListenerImpl
Direct Known Subclasses:
ClientListenerImpl, ServiceListenerImpl

public class AbstractListenerImpl
extends Object

The Class AbstractListenerImpl implementing abstract life cycle for SAM agent event.


Constructor Summary
AbstractListenerImpl()
           
 
Method Summary
protected  void processStart(org.apache.cxf.endpoint.Endpoint endpoint, org.talend.esb.sam.common.event.EventTypeEnum eventType)
          Process start.
protected  void processStop(org.apache.cxf.endpoint.Endpoint endpoint, org.talend.esb.sam.common.event.EventTypeEnum eventType)
          Process stop.
 void setMonitoringServiceClient(org.talend.esb.sam.common.service.MonitoringService monitoringServiceClient)
          Sets the monitoring service client.
 void setQueue(Queue<org.talend.esb.sam.common.event.Event> queue)
          Sets the queue.
 void setSendLifecycleEvent(boolean sendLifecycleEvent)
          Sets the lifecycle event for sending.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractListenerImpl

public AbstractListenerImpl()
Method Detail

setSendLifecycleEvent

public void setSendLifecycleEvent(boolean sendLifecycleEvent)
Sets the lifecycle event for sending.

Parameters:
sendLifecycleEvent - the new lifecycle event

setQueue

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

Parameters:
queue - the new queue

setMonitoringServiceClient

public void setMonitoringServiceClient(org.talend.esb.sam.common.service.MonitoringService monitoringServiceClient)
Sets the monitoring service client.

Parameters:
monitoringServiceClient - the new monitoring service client

processStart

protected void processStart(org.apache.cxf.endpoint.Endpoint endpoint,
                            org.talend.esb.sam.common.event.EventTypeEnum eventType)
Process start.

Parameters:
endpoint - the endpoint
eventType - the event type

processStop

protected void processStop(org.apache.cxf.endpoint.Endpoint endpoint,
                           org.talend.esb.sam.common.event.EventTypeEnum eventType)
Process stop.

Parameters:
endpoint - the endpoint
eventType - the event type


Copyright © 2011-2012 Talend Inc.. All Rights Reserved.