public interface Module
extends org.springframework.context.Lifecycle
Modifier and Type | Method and Description |
---|---|
void |
addComponents(org.springframework.core.io.Resource resource) |
void |
addListener(org.springframework.context.ApplicationListener<?> listener) |
void |
addProperties(java.util.Properties properties) |
void |
destroy()
Destroy this module's application context.
|
<T> T |
getComponent(java.lang.Class<T> requiredType) |
<T> T |
getComponent(java.lang.String componentName,
java.lang.Class<T> requiredType) |
ModuleDeploymentProperties |
getDeploymentProperties() |
ModuleDescriptor |
getDescriptor() |
java.lang.String |
getName() |
java.util.Properties |
getProperties() |
ModuleType |
getType() |
void |
initialize() |
void |
setParentContext(org.springframework.context.ApplicationContext parentContext) |
void initialize()
java.lang.String getName()
ModuleType getType()
ModuleDescriptor getDescriptor()
ModuleDeploymentProperties getDeploymentProperties()
void setParentContext(org.springframework.context.ApplicationContext parentContext)
void addComponents(org.springframework.core.io.Resource resource)
void addProperties(java.util.Properties properties)
void addListener(org.springframework.context.ApplicationListener<?> listener)
java.util.Properties getProperties()
<T> T getComponent(java.lang.Class<T> requiredType)
<T> T getComponent(java.lang.String componentName, java.lang.Class<T> requiredType)
void destroy()