public static enum ApplicationEvent.EVENT extends Enum<ApplicationEvent.EVENT>
Enum Constant and Description |
---|
APPLICATION_DESTROYED
应用容器销毁事件
|
APPLICATION_INITIALIZED
应用容器初始化事件
|
APPLICATION_STARTUP
应用容器启动事件
|
Modifier and Type | Method and Description |
---|---|
static ApplicationEvent.EVENT |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationEvent.EVENT[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationEvent.EVENT APPLICATION_STARTUP
public static final ApplicationEvent.EVENT APPLICATION_INITIALIZED
public static final ApplicationEvent.EVENT APPLICATION_DESTROYED
public static ApplicationEvent.EVENT[] values()
for (ApplicationEvent.EVENT c : ApplicationEvent.EVENT.values()) System.out.println(c);
public static ApplicationEvent.EVENT valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2022. All rights reserved.