public class ModuleTypeConversionPlugin extends AbstractPlugin
Plugin for processing module message conversion parameters (inputType and outputType). Accepts a list of
AbstractFromMessageConverters which are always available along with an optional list of custom converters
which may be provided by end users.PLUGIN_CONTEXT_CONFIG_ROOT| Constructor and Description |
|---|
ModuleTypeConversionPlugin(java.util.Collection<AbstractFromMessageConverter> converters,
java.util.Collection<AbstractFromMessageConverter> customConverters) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
boolean |
supports(Module module)
Check if the module is supported by the plugin.
|
beforeShutdown, getApplicationContext, getOrder, preProcessModule, removeModule, setApplicationContextpublic ModuleTypeConversionPlugin(java.util.Collection<AbstractFromMessageConverter> converters, java.util.Collection<AbstractFromMessageConverter> customConverters)
converters - a list of default converterscustomConverters - a list of custom converters to extend the default converterspublic void postProcessModule(Module module)
PluginpostProcessModule in interface PluginpostProcessModule in class AbstractPluginmodule - the module to post-process