Interface ManagedServiceMBean
-
- All Known Subinterfaces:
ManagedAsyncProcessorAwaitManagerMBean,ManagedBeanIntrospectionMBean,ManagedConsumerCacheMBean,ManagedConsumerMBean,ManagedEndpointRegistryMBean,ManagedExchangeFactoryManagerMBean,ManagedInflightRepositoryMBean,ManagedProducerCacheMBean,ManagedProducerMBean,ManagedRestRegistryMBean,ManagedRouteControllerMBean,ManagedRuntimeEndpointRegistryMBean,ManagedSchedulePollConsumerMBean,ManagedStreamCachingStrategyMBean,ManagedSupervisingRouteControllerMBean,ManagedThrottlingExceptionRoutePolicyMBean,ManagedThrottlingInflightRoutePolicyMBean,ManagedTransformerRegistryMBean,ManagedTypeConverterRegistryMBean,ManagedValidatorRegistryMBean
public interface ManagedServiceMBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCamelId()StringgetCamelManagementName()StringgetRouteId()StringgetServiceType()StringgetState()booleanisStaticService()booleanisSupportSuspension()booleanisSuspended()voidresume()voidstart()voidstop()voidsuspend()
-
-
-
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
-
-