public interface Plugin
Module
works. Typically, implementations will add
behavior to the module by registering additional
components
or setting additional properties
.ModuleDeployer
Modifier and Type | Method and Description |
---|---|
void |
beforeShutdown(Module module)
Perform any cleanup necessary prior to module shutdown
|
void |
postProcessModule(Module module)
Apply changes to the module after it is initialized i.e. after its context is refreshed, but before it is
started.
|
void |
preProcessModule(Module module)
Apply changes to the module before it is initialized i.e. before its context is refreshed.
|
void |
preProcessSharedContext(org.springframework.context.ConfigurableApplicationContext context)
Invoked when this plugin is discovered, allows to make any necessary changes to the context which will be used as
the parent of all
modules . |
void |
removeModule(Module module)
Take any actions necessary to remove a module from the system.
|
void preProcessModule(Module module)
void postProcessModule(Module module)
void removeModule(Module module)
module
- void beforeShutdown(Module module)
module
- void preProcessSharedContext(org.springframework.context.ConfigurableApplicationContext context)
modules
. Note
that said context has not been refreshed
yet.