org.springframework.integration.monitor
Class ManagedEndpoint
java.lang.Object
org.springframework.integration.monitor.ManagedEndpoint
- All Implemented Interfaces:
- org.springframework.context.Lifecycle
@ManagedResource
public class ManagedEndpoint
- extends java.lang.Object
- implements org.springframework.context.Lifecycle
Wrapper for an AbstractEndpoint that exposes a management interface.
|
Constructor Summary |
ManagedEndpoint(org.springframework.integration.endpoint.AbstractEndpoint delegate)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManagedEndpoint
public ManagedEndpoint(org.springframework.integration.endpoint.AbstractEndpoint delegate)
isRunning
@ManagedAttribute
public final boolean isRunning()
- Specified by:
isRunning in interface org.springframework.context.Lifecycle
start
@ManagedOperation
public final void start()
- Specified by:
start in interface org.springframework.context.Lifecycle
stop
@ManagedOperation
public final void stop()
- Specified by:
stop in interface org.springframework.context.Lifecycle