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 Summary

    Modifier and Type Method Description
    boolean isRunning()  
    void start()  
    void stop()  
  • Method Details

    • start

      @ManagedOperation(description="Start the component") void start()
      Specified by:
      start in interface org.springframework.context.Lifecycle
    • stop

      @ManagedOperation(description="Stop the component") void stop()
      Specified by:
      stop in interface org.springframework.context.Lifecycle
    • isRunning

      @ManagedAttribute(description="Is the component running?") boolean isRunning()
      Specified by:
      isRunning in interface org.springframework.context.Lifecycle