org.apache.camel.management
Class ManagedService

java.lang.Object
  extended by org.apache.camel.management.ManagedService

@ManagedResource(description="Managed Service",
                 currencyTimeLimit=15)
public class ManagedService
extends Object


Constructor Summary
ManagedService(ServiceSupport service)
           
 
Method Summary
 Service getService()
           
 boolean isStarted()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedService

public ManagedService(ServiceSupport service)
Method Detail

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


Apache CAMEL