org.springframework.integration.monitor
Class ManagedEndpoint

java.lang.Object
  extended by org.springframework.integration.monitor.ManagedEndpoint
All Implemented Interfaces:
Lifecycle

@ManagedResource
public class ManagedEndpoint
extends java.lang.Object
implements Lifecycle

Wrapper for an AbstractEndpoint that exposes a management interface.


Constructor Summary
ManagedEndpoint(AbstractEndpoint delegate)
           
 
Method Summary
 boolean isRunning()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedEndpoint

public ManagedEndpoint(AbstractEndpoint delegate)
Method Detail

isRunning

@ManagedAttribute
public final boolean isRunning()
Specified by:
isRunning in interface Lifecycle

start

@ManagedOperation
public final void start()
Specified by:
start in interface Lifecycle

stop

@ManagedOperation
public final void stop()
Specified by:
stop in interface Lifecycle