public class CustomModuleRegistryFactoryBean extends java.lang.Object implements org.springframework.beans.factory.FactoryBean<WritableModuleRegistry>, org.springframework.context.EnvironmentAware, org.springframework.beans.factory.InitializingBean
SynchronizingModuleRegistry
for hosting custom modules if necessary, depending on the
protocol scheme (using a synchronizing registry for everything but file://
protocol).Constructor and Description |
---|
CustomModuleRegistryFactoryBean(java.lang.String root) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
WritableModuleRegistry |
getObject() |
java.lang.Class<WritableModuleRegistry> |
getObjectType() |
boolean |
isSingleton() |
void |
setEnvironment(org.springframework.core.env.Environment environment) |
public CustomModuleRegistryFactoryBean(java.lang.String root)
public WritableModuleRegistry getObject() throws java.lang.Exception
getObject
in interface org.springframework.beans.factory.FactoryBean<WritableModuleRegistry>
java.lang.Exception
public java.lang.Class<WritableModuleRegistry> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<WritableModuleRegistry>
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean<WritableModuleRegistry>
public void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment
in interface org.springframework.context.EnvironmentAware
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception