public interface ClassEventListener
| Modifier and Type | Field and Description |
|---|---|
static int |
EVENT_DEPENDENCY_RELOADED
Event that occurs right after a dependency has been reloaded.
|
static int |
EVENT_LOADED
Event that occurs right after a class has been loaded.
|
static int |
EVENT_RELOADED
Event that occurs right after a class has been reloaded.
|
static int |
PRIORITY_CORE |
static int |
PRIORITY_DEFAULT |
static int |
PRIORITY_WEB |
| Modifier and Type | Method and Description |
|---|---|
void |
onClassEvent(int eventType,
Class<?> klass)
Called when a class event occurs.
|
int |
priority()
Returns the priority of the listener that defines the order of listener invocation.
|
static final int PRIORITY_DEFAULT
static final int PRIORITY_WEB
static final int PRIORITY_CORE
static final int EVENT_LOADED
static final int EVENT_RELOADED
static final int EVENT_DEPENDENCY_RELOADED
void onClassEvent(int eventType,
Class<?> klass)
throws Exception
ExceptionEVENT_LOADED,
EVENT_RELOADEDint priority()
Copyright © 2019. All rights reserved.