Interface ManageableLifecycle
- All Superinterfaces:
org.springframework.context.Lifecycle
- All Known Subinterfaces:
ManageableSmartLifecycle,Pausable
- All Known Implementing Classes:
AbstractCorrelatingMessageHandler,AbstractEndpoint,AbstractMessageProcessingSelector,AbstractMessageProcessingTransformer,AbstractPollingEndpoint,AggregatingMessageHandler,AnnotationGatewayProxyFactoryBean,ContentEnricher,DefaultHeaderChannelRegistry,DelegatingMessageGroupProcessor,EventDrivenConsumer,ExpressionEvaluatingRouter,ExpressionEvaluatingSelector,ExpressionEvaluatingSplitter,ExpressionEvaluatingTransformer,ExpressionMessageProducerSupport,FluxAggregatorMessageHandler,GatewayMessageHandler,GatewayProxyFactoryBean,IntegrationFlowAdapter,MessageFilter,MessageHandlerChain,MessageHistoryConfigurer,MessageProducerSupport,MessageTransformingHandler,MessagingGatewaySupport,MessagingMethodInvokerHelper,MethodInvokingCorrelationStrategy,MethodInvokingMessageGroupProcessor,MethodInvokingMessageHandler,MethodInvokingMessageListProcessor,MethodInvokingMessageProcessor,MethodInvokingMessageSource,MethodInvokingReleaseStrategy,MethodInvokingRouter,MethodInvokingSelector,MethodInvokingSplitter,MethodInvokingTransformer,PollingConsumer,ReactiveMessageSourceProducer,ReactiveStreamsConsumer,ReplyProducingMessageHandlerWrapper,ResequencingMessageHandler,ScatterGatherHandler,ServiceActivatingHandler,SourcePollingChannelAdapter,WireTap
public interface ManageableLifecycle
extends org.springframework.context.Lifecycle
Makes
Lifecycle methods manageable.- Since:
- 5.4
-
Method Details
-
start
@ManagedOperation(description="Start the component") void start()- Specified by:
startin interfaceorg.springframework.context.Lifecycle
-
stop
@ManagedOperation(description="Stop the component") void stop()- Specified by:
stopin interfaceorg.springframework.context.Lifecycle
-
isRunning
@ManagedAttribute(description="Is the component running?") boolean isRunning()- Specified by:
isRunningin interfaceorg.springframework.context.Lifecycle
-