org.apache.camel.management
Class ManagedService
java.lang.Object
org.apache.camel.management.ManagedService
@ManagedResource(description="Managed Service",
currencyTimeLimit=15)
public class ManagedService
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManagedService
public ManagedService(ServiceSupport service)
getService
public Service getService()
isStarted
@ManagedAttribute(description="Service running state")
public boolean isStarted()
throws IOException
- Throws:
IOException
start
@ManagedOperation(description="Start Service")
public void start()
throws IOException
- Throws:
IOException
stop
@ManagedOperation(description="Stop Service")
public void stop()
throws IOException
- Throws:
IOException
Copyright © 2009 Apache Software Foundation. All Rights Reserved.