public class ApplicationContext extends BaseApplicationContext
Title: ApplicationContext.java
Description: ApplicationContext组件是对抽象组件BaseApplicationContext的扩展,主要功能 特性是除了拥有基本的aop和ioc、全局属性管理的功能外,还具备支持远程服务组件调用的功能
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| 限定符 | 构造器和说明 |
|---|---|
protected |
ApplicationContext(java.lang.String configfile) |
protected |
ApplicationContext(java.lang.String configfile,
boolean isfile) |
protected |
ApplicationContext(java.lang.String docbaseType,
java.lang.String docbase,
java.lang.String configfile) |
protected |
ApplicationContext(java.lang.String docbaseType,
java.lang.String docbase,
java.lang.String configfile,
boolean isfile) |
| 限定符和类型 | 方法和说明 |
|---|---|
static ApplicationContext |
getApplicationContext()
获取默认上下文的bean组件管理容器,配置文件从manager-provider.xml文件开始
|
static ApplicationContext |
getApplicationContext(java.lang.String configfile)
获取指定根配置文件上下文bean组件管理容器,配置文件从参数configfile对应配置文件开始
不同的上下文件环境容器互相隔离,组件间不存在依赖关系,属性也不存在任何引用关系。
|
_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, reset, restoreCacheContext, setConfigFileURL, setParserError, setResourceLoader, shutdown, start, stoped, throwUndefineException, toStringgetClassLoader, getResourceByPath, setClassLoaderprotected ApplicationContext(java.lang.String configfile)
protected ApplicationContext(java.lang.String configfile,
boolean isfile)
protected ApplicationContext(java.lang.String docbaseType,
java.lang.String docbase,
java.lang.String configfile)
protected ApplicationContext(java.lang.String docbaseType,
java.lang.String docbase,
java.lang.String configfile,
boolean isfile)
public static ApplicationContext getApplicationContext()
public static ApplicationContext getApplicationContext(java.lang.String configfile)