org.talend.esb.sam.agent.serviceclient
Class MonitoringServiceWrapper

java.lang.Object
  extended by org.talend.esb.sam.agent.serviceclient.MonitoringServiceWrapper
All Implemented Interfaces:
org.talend.esb.sam.common.service.MonitoringService

public class MonitoringServiceWrapper
extends Object
implements org.talend.esb.sam.common.service.MonitoringService

Wraps business logic to web service logic. So web service should be changeable.


Constructor Summary
MonitoringServiceWrapper()
           
 
Method Summary
 void putEvents(List<org.talend.esb.sam.common.event.Event> events)
          Sends all events to the web service.
 void setDelayBetweenRetry(long delayBetweenRetry)
           
 void setMonitoringService(org.talend.esb.sam.monitoringservice.v1.MonitoringService monitoringService)
          Set by Spring.
 void setNumberOfRetries(int numberOfRetries)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonitoringServiceWrapper

public MonitoringServiceWrapper()
Method Detail

setNumberOfRetries

public void setNumberOfRetries(int numberOfRetries)

setDelayBetweenRetry

public void setDelayBetweenRetry(long delayBetweenRetry)

setMonitoringService

public void setMonitoringService(org.talend.esb.sam.monitoringservice.v1.MonitoringService monitoringService)
Set by Spring. Sets the web service implementation.

Parameters:
monitoringService -

putEvents

public void putEvents(List<org.talend.esb.sam.common.event.Event> events)
Sends all events to the web service. Events will be transformed with mapper before sending.

Specified by:
putEvents in interface org.talend.esb.sam.common.service.MonitoringService


Copyright © 2011 Talend Inc.. All Rights Reserved.