Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BEAN_NAME_PREFIX |
Constructor and Description |
---|
TriggerPlugin() |
Modifier and Type | Method and Description |
---|---|
void |
postProcessModule(Module module)
Apply changes to the module after it is initialized (generally,
this means after its context is refreshed), but before it is
started.
|
void |
postProcessSharedContext(org.springframework.context.ConfigurableApplicationContext context)
Will add the
ConfigurableApplicationContext as an instance variable,
so it becomes available when registering a new Module. |
void |
preProcessModule(Module module)
Processes a new
Trigger being added. |
void |
removeModule(Module module)
Take any actions necessary to remove a module from the system.
|
public static final java.lang.String BEAN_NAME_PREFIX
public void preProcessModule(Module module)
Trigger
being added. Currently, it supports adding
CronTrigger
s. The Trigger
is added to the common
ConfigurableApplicationContext
.preProcessModule
in interface Plugin
public void postProcessModule(Module module)
Plugin
postProcessModule
in interface Plugin
public void removeModule(Module module)
Plugin
removeModule
in interface Plugin
public void postProcessSharedContext(org.springframework.context.ConfigurableApplicationContext context)
ConfigurableApplicationContext
as an instance variable,
so it becomes available when registering a new Module.postProcessSharedContext
in interface Plugin