org.apache.camel.api.management.mbean
Interface ManagedServiceMBean

All Known Subinterfaces:
ManagedConsumerCacheMBean, ManagedConsumerMBean, ManagedEndpointRegistryMBean, ManagedProducerCacheMBean, ManagedProducerMBean, ManagedRuntimeEndpointRegistryMBean, ManagedSchedulePollConsumerMBean, ManagedThrottlingInflightRoutePolicyMBean, ManagedTypeConverterRegistryMBean
All Known Implementing Classes:
ManagedConsumer, ManagedConsumerCache, ManagedEndpointRegistry, ManagedProducer, ManagedProducerCache, ManagedRuntimeEndpointRegistry, ManagedScheduledPollConsumer, ManagedService, ManagedStreamCachingStrategy, ManagedThrottlingInflightRoutePolicy, ManagedTypeConverterRegistry

public interface ManagedServiceMBean


Method Summary
 String getCamelId()
           
 String getCamelManagementName()
           
 String getRouteId()
           
 String getServiceType()
           
 String getState()
           
 boolean isStaticService()
           
 boolean isSupportSuspension()
           
 boolean isSuspended()
           
 void resume()
           
 void start()
           
 void stop()
           
 void suspend()
           
 

Method Detail

getState

@ManagedAttribute(description="Service State")
String getState()

getCamelId

@ManagedAttribute(description="Camel ID")
String getCamelId()

getCamelManagementName

@ManagedAttribute(description="Camel ManagementName")
String getCamelManagementName()

getRouteId

@ManagedAttribute(description="Route ID")
String getRouteId()

getServiceType

@ManagedAttribute(description="Service Type")
String getServiceType()

start

@ManagedOperation(description="Start Service")
void start()
           throws Exception
Throws:
Exception

stop

@ManagedOperation(description="Stop Service")
void stop()
          throws Exception
Throws:
Exception

isSupportSuspension

@ManagedAttribute(description="Whether this service supports suspension")
boolean isSupportSuspension()

isStaticService

@ManagedAttribute(description="Whether this service is static")
boolean isStaticService()

isSuspended

@ManagedAttribute(description="Whether this service is suspended")
boolean isSuspended()

suspend

@ManagedOperation(description="Suspend Service")
void suspend()
             throws Exception
Throws:
Exception

resume

@ManagedOperation(description="Resume Service")
void resume()
            throws Exception
Throws:
Exception


Apache Camel