public class ContextFactoryBean extends AbstractEnvironmentAware implements org.springframework.beans.factory.FactoryBean<Object>, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, Module, org.springframework.context.ApplicationContextAware, org.springframework.context.EnvironmentAware
| 限定符和类型 | 字段和说明 |
|---|---|
protected static org.slf4j.Logger |
logger |
environment| 构造器和说明 |
|---|
ContextFactoryBean() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterPropertiesSet() |
void |
destroy() |
Object |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
loadModule(ApiBinder apiBinder) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setCustomProperties(Map<Object,Object> customProperties) |
void |
setEnvironment(org.springframework.core.env.Environment environment) |
void |
setLoadModules(String[] loadModules) |
void |
setMainConfig(String mainConfig) |
void |
setRefProperties(Properties refProperties) |
void |
setScanPackages(String[] scanPackages) |
void |
setUseProperties(boolean useProperties) |
setupEnvironmentpublic void setMainConfig(String mainConfig)
public void setRefProperties(Properties refProperties)
public void setUseProperties(boolean useProperties)
public void setLoadModules(String[] loadModules)
public void setScanPackages(String[] scanPackages)
public final void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext 在接口中 org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment 在接口中 org.springframework.context.EnvironmentAwarepublic final Class<?> getObjectType()
getObjectType 在接口中 org.springframework.beans.factory.FactoryBean<Object>public final boolean isSingleton()
isSingleton 在接口中 org.springframework.beans.factory.FactoryBean<Object>public final void afterPropertiesSet()
throws Exception
afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBeanExceptionpublic void loadModule(ApiBinder apiBinder)
loadModule 在接口中 Modulepublic final void destroy()
destroy 在接口中 org.springframework.beans.factory.DisposableBeanCopyright © 2020. All rights reserved.