Interface FeatureService


@MXBean public interface FeatureService
Used for exposing individual services stop/start via java MBean. This will not work for classes that are using spring proxies as the proxy no longer contains the data about the original class interfaces. For this to work on spring proxied classes - either name the parent class to end with 'MBean' or use ManagedResource annotation.

This interface is designed to be compatible with XlrServiceLifecycle, so we could chain these if needed.

  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
    void
     
    void
     
  • Method Details

    • serviceName

      @ManagedOperation(description="Service name") String serviceName()
    • start

      @ManagedOperation(description="Start service") void start()
    • stop

      @ManagedOperation(description="Stop service") void stop()
    • isRunning

      @ManagedOperation(description="Is service running") boolean isRunning()