接口 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
-
方法概要
修饰符和类型方法说明getProperty(String key) Return the value of the specified key from the applicationEnvironment.booleanSpecify if the application runs in an embedded web container.booleanisReady()Specify if the application has fully started and is now ready.voidshutdown()Shutdown the application.
-
方法详细资料
-
isReady
boolean isReady()Specify if the application has fully started and is now ready.- 返回:
trueif the application is ready- 另请参阅:
-
isEmbeddedWebApplication
boolean isEmbeddedWebApplication()Specify if the application runs in an embedded web container. Returnfalseon a web application that hasn't fully started yet, so it is preferable to wait for the application to beready.- 返回:
trueif the application runs in an embedded web container- 另请参阅:
-
getProperty
Return the value of the specified key from the applicationEnvironment.- 参数:
key- the property key- 返回:
- the property value or
nullif it does not exist
-
shutdown
void shutdown()Shutdown the application.- 另请参阅:
-