public class DefaultApplicationContext extends BaseApplicationContext
Title: DefaultApplicationContext.java
Description:
bboss workgroup
Copyright (c) 2007
AOP_PROPERTIES_PATH, aop_proxy_type_cglib, aop_proxy_type_default, aop_proxy_type_javaproxy, aop_proxy_type_key, aop_webservice_scope_key, applicationContextInited, applicationContexts, baseDir, configfile, configFileURL, container_type_application, container_type_mvc, container_type_simple, container_type_soa, container_type_soafile, DEFAULT_CACHE_KEY, DEFAULT_MESSAGE_BASENAME, default_singable, docbase, docbaseType, initlock, instream, isfile, lock, MESSAGE_SOURCE_BEAN_NAME, messageSource, mvccontainer_identifier, needRecordFile, parserError, providerManager, rootFiles, started, SYNCHRO_CACHE_KEY| 限定符 | 构造器和说明 |
|---|---|
|
DefaultApplicationContext(java.io.InputStream instream,
boolean isfile,
boolean init) |
protected |
DefaultApplicationContext(java.lang.String configfile) |
protected |
DefaultApplicationContext(java.lang.String configfile,
boolean isfile,
boolean init) |
protected |
DefaultApplicationContext(java.lang.String configfile,
boolean isfile,
java.lang.String charset,
boolean init) |
protected |
DefaultApplicationContext(java.lang.String docbaseType,
java.lang.String docbase,
java.lang.String configfile) |
protected |
DefaultApplicationContext(java.lang.String docbaseType,
java.lang.String docbase,
java.lang.String configfile,
boolean isfile) |
|
DefaultApplicationContext(java.lang.String baseDir,
java.net.URL file,
java.lang.String path) |
|
DefaultApplicationContext(java.lang.String baseDir,
java.net.URL file,
java.lang.String path,
boolean needInitProvider) |
|
DefaultApplicationContext(java.net.URL configfile)
可以用于外部文件加载,类似于构造函数
public DefaultApplicationContext(String configfile)
|
| 限定符和类型 | 方法和说明 |
|---|---|
static DefaultApplicationContext |
getApplicationContext(java.lang.String configfile)
获取指定根配置文件上下文bean组件管理容器,配置文件从参数configfile对应配置文件开始
不同的上下文件环境容器互相隔离,组件间不存在依赖关系,属性也不存在任何引用关系。
|
static DefaultApplicationContext |
getApplicationContext(java.lang.String configfile,
boolean forceReload)
获取指定根配置文件上下文bean组件管理容器,配置文件从参数configfile对应配置文件开始
不同的上下文件环境容器互相隔离,组件间不存在依赖关系,属性也不存在任何引用关系。
|
static DefaultApplicationContext |
getApplicationContext(java.net.URL configfile) |
void |
reset() |
_getServiceProviderManager, _getServiceProviderManagerWithCharset, addShutdownHook, addShutdownHook, containsBean, containsSingleton, createBean, createBean, createBean, createInf, createInf, createSynInf, createSynTXInf, createTXInf, defaultsingable, destroy, destroy, destroyBean, destroySingleBeans, fillHotLoadProperties, fillProperties, getAllExternalProperties, getAOPProxyType, getAopWebserviceScope, getArrayProperty, getBaseApplicationContext, getBaseApplicationContext, getBaseDir, getBeanNamesForType, getBeanObject, getBeanObject, getBeanObject, getBeanObject, getBeanObject, getBeanObject, getBeanObject, getBeanObjectFromRefID, getBeanObjectFromRefID, getBooleanExtendAttribute, getBooleanExtendAttribute, getBooleanProperty, getBooleanProperty, getConfigfile, getConfigFileURL, getDependenciesForBean, getDependentBeans, getExtendAttribute, getExtendAttribute, getExternalBooleanProperty, getExternalObjectProperty, getExternalObjectProperty, getExternalObjectPropertyWithNS, getExternalObjectPropertyWithNS, getExternalProperty, getExternalProperty, getExternalPropertyWithNS, getExternalPropertyWithNS, getInnerPro, getInternalParentMessageSource, getIntExtendAttribute, getIntExtendAttribute, getIntProperty, getIntProperty, getLinkConfigFile, getListProperty, getListProperty, getLongExtendAttribute, getLongExtendAttribute, getLongProperty, getLongProperty, getManagers, getMapProperty, getMapProperty, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage, getObjectProperty, getObjectProperty, getParserError, getProArrayProperty, getProBean, getPropertiesContainer, getProperty, getProperty, getPropertyKeys, getProProperties, getProvider, getProvider, getProvider, getProvider, getRealConfigPath, getRealPath, getResource, getResourceFileRefreshInterval, getResourcePatternResolver, getResources, getRootFiles, getServiceProviderManager, getSetProperty, getSetProperty, getSQLFileRefreshInterval, getStringArray, getStringArray, getStringExtendAttribute, getStringExtendAttribute, getSystemEnvProperty, getTBeanObject, getTBeanObject, getTBeanObject, getTraceFiles, getType, init, initApplicationContext, initBean, initBean, initMessageSource, initProviderManager, isEmptyContext, isFactoryBean, isfile, isSingleton, main, needRecordFile, proxyObject, registDestroyMethod, registDisableBean, reinit, removeCacheContext, restoreCacheContext, setConfigFileURL, setParserError, setResourceLoader, shutdown, start, stoped, throwUndefineException, toStringgetClassLoader, getResourceByPath, setClassLoaderprotected DefaultApplicationContext(java.lang.String configfile)
protected DefaultApplicationContext(java.lang.String configfile,
boolean isfile,
boolean init)
protected DefaultApplicationContext(java.lang.String configfile,
boolean isfile,
java.lang.String charset,
boolean init)
protected DefaultApplicationContext(java.lang.String docbaseType,
java.lang.String docbase,
java.lang.String configfile)
protected DefaultApplicationContext(java.lang.String docbaseType,
java.lang.String docbase,
java.lang.String configfile,
boolean isfile)
public DefaultApplicationContext(java.lang.String baseDir,
java.net.URL file,
java.lang.String path)
public DefaultApplicationContext(java.lang.String baseDir,
java.net.URL file,
java.lang.String path,
boolean needInitProvider)
public DefaultApplicationContext(java.io.InputStream instream,
boolean isfile,
boolean init)
public DefaultApplicationContext(java.net.URL configfile)
configfile - public static DefaultApplicationContext getApplicationContext(java.lang.String configfile)
public static DefaultApplicationContext getApplicationContext(java.lang.String configfile, boolean forceReload)
public static DefaultApplicationContext getApplicationContext(java.net.URL configfile)
public void reset()
reset 在接口中 GetPropertiesreset 在类中 BaseApplicationContext