接口 SpringApplicationAdminMXBean


public interface SpringApplicationAdminMXBean
An MBean contract to control and monitor a running SpringApplication over JMX. Intended for internal use only.
从以下版本开始:
1.3.0
作者:
Stephane Nicoll
  • 方法概要

    修饰符和类型
    方法
    说明
    Return the value of the specified key from the application Environment.
    boolean
    Specify if the application runs in an embedded web container.
    boolean
    Specify if the application has fully started and is now ready.
    void
    Shutdown the application.
  • 方法详细资料

    • isReady

      boolean isReady()
      Specify if the application has fully started and is now ready.
      返回:
      true if the application is ready
      另请参阅:
    • isEmbeddedWebApplication

      boolean isEmbeddedWebApplication()
      Specify if the application runs in an embedded web container. Return false on a web application that hasn't fully started yet, so it is preferable to wait for the application to be ready.
      返回:
      true if the application runs in an embedded web container
      另请参阅:
    • getProperty

      String getProperty(String key)
      Return the value of the specified key from the application Environment.
      参数:
      key - the property key
      返回:
      the property value or null if it does not exist
    • shutdown

      void shutdown()
      Shutdown the application.
      另请参阅: