public class JavaConfiguredModule extends SimpleModule
SimpleModule
configured by an @Configuration class.Constructor and Description |
---|
JavaConfiguredModule(ModuleDescriptor descriptor,
ModuleDeploymentProperties deploymentProperties) |
JavaConfiguredModule(ModuleDescriptor descriptor,
ModuleDeploymentProperties deploymentProperties,
java.lang.ClassLoader classLoader,
ModuleOptions moduleOptions) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String[] |
basePackages(SimpleModuleDefinition moduleDefinition) |
protected void |
configureModuleApplicationContext(SimpleModuleDefinition moduleDefinition)
Subclasses implement this method to configure the application context from sources contained in the
ModuleDefinition |
addListener, addProperties, addSource, destroy, getApplicationContext, getClassLoader, getComponent, getComponent, getProperties, initialize, isRunning, setParentContext, start, stop
getDeploymentProperties, getDescriptor, getName, getType, shouldBind, toString
public JavaConfiguredModule(ModuleDescriptor descriptor, ModuleDeploymentProperties deploymentProperties)
public JavaConfiguredModule(ModuleDescriptor descriptor, ModuleDeploymentProperties deploymentProperties, java.lang.ClassLoader classLoader, ModuleOptions moduleOptions)
protected void configureModuleApplicationContext(SimpleModuleDefinition moduleDefinition)
SimpleModule
ModuleDefinition
configureModuleApplicationContext
in class SimpleModule
public static java.lang.String[] basePackages(SimpleModuleDefinition moduleDefinition)