站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.1.0 API 文档英文版

Uses of Interface org.springframework.context.ApplicationContext (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版


The Spring Framework

Uses of Interface
org.springframework.context.ApplicationContext

Packages that use ApplicationContext
org.springframework.context This package builds on the beans package to add support for message sources and for the Observer design pattern, and the ability for application objects to obtain resources using a consistent API. 
org.springframework.context.access Helper infrastructure to locate and access shared application contexts. 
org.springframework.context.event Support classes for application events, like standard context events. 
org.springframework.context.support Classes supporting the org.springframework.context package, such as abstract base classes for ApplicationContext implementations and a MessageSource implementation. 
org.springframework.jca.context Integration package that allows for deploying a Spring application context as a JCA 1.5 compliant RAR file. 
org.springframework.remoting.jaxrpc Remoting classes for Web Services via JAX-RPC. 
org.springframework.scheduling.quartz Support classes for the open source scheduler Quartz, allowing to set up Quartz Schedulers, JobDetails and Triggers as beans in a Spring context. 
org.springframework.test.annotation Support classes for annotation-driven tests. 
org.springframework.ui.context.support Classes supporting the org.springframework.ui.context package. 
org.springframework.web.context Contains a variant of the application context interface for web applications, and the ContextLoaderListener that bootstraps a root web application context. 
org.springframework.web.context.support Classes supporting the org.springframework.web.context package, such as WebApplicationContext implementations and various utility classes. 
org.springframework.web.portlet Provides JSR-168 portlets that integrate with the application context infrastructure, and the core interfaces and classes for the Portlet variant of Spring's web MVC framework. 
org.springframework.web.portlet.context Support for Spring's application context concept in a portlet environment, including ApplicationContext implementations and various utility classes. 
org.springframework.web.servlet Provides servlets that integrate with the application context infrastructure, and the core interfaces and classes for the Spring web MVC framework. 
org.springframework.web.servlet.view.tiles Support classes for the integration of Tiles (included in Struts) as Spring web view technology. 
 

Uses of ApplicationContext in org.springframework.context
 

Subinterfaces of ApplicationContext in org.springframework.context
 interface ConfigurableApplicationContext
          SPI interface to be implemented by most if not all application contexts.
 

Methods in org.springframework.context that return ApplicationContext
 ApplicationContext ApplicationContext.getParent()
          Return the parent context, or null if there is no parent and this is the root of the context hierarchy.
 

Methods in org.springframework.context with parameters of type ApplicationContext
 void ApplicationContextAware.setApplicationContext(ApplicationContext applicationContext)
          Set the ApplicationContext that this object runs in.
 void ConfigurableApplicationContext.setParent(ApplicationContext parent)
          Set the parent of this application context.
 

Uses of ApplicationContext in org.springframework.context.access
 

Methods in org.springframework.context.access that return ApplicationContext
protected  ApplicationContext ContextJndiBeanFactoryLocator.createApplicationContext(String[] resources)
          Create the ApplicationContext instance, given an array of class path resource Strings which should be combined
 

Constructors in org.springframework.context.access with parameters of type ApplicationContext
ContextBeanFactoryReference(ApplicationContext applicationContext)
          Create a new ContextBeanFactoryReference for the given context.
 

Uses of ApplicationContext in org.springframework.context.event
 

Methods in org.springframework.context.event that return ApplicationContext
 ApplicationContext ContextRefreshedEvent.getApplicationContext()
          Gets the ApplicationContext that has been initialized or refreshed.
 ApplicationContext ContextClosedEvent.getApplicationContext()
           
 

Constructors in org.springframework.context.event with parameters of type ApplicationContext
ContextClosedEvent(ApplicationContext source)
          Creates a new ContextClosedEvent.
ContextRefreshedEvent(ApplicationContext source)
          Create a new instance of the ContextRefreshedEvent class.
 

Uses of ApplicationContext in org.springframework.context.support
 

Classes in org.springframework.context.support that implement ApplicationContext
 class AbstractApplicationContext
          Abstract implementation of the ApplicationContext interface.
 class AbstractRefreshableApplicationContext
          Base class for ApplicationContext implementations which are supposed to support multiple refreshs, creating a new internal bean factory instance every time.
 class AbstractXmlApplicationContext
          Convenient base class for ApplicationContext implementations, drawing configuration from XML documents containing bean definitions understood by an XmlBeanDefinitionReader.
 class ClassPathXmlApplicationContext
          Standalone XML application context, taking the context definition files from the class path, interpreting plain paths as class path resource names that include the package path (e.g.
 class FileSystemXmlApplicationContext
          Standalone XML application context, taking the context definition files from the file system or from URLs, interpreting plain paths as relative file system locations (e.g.
 class GenericApplicationContext
          Generic ApplicationContext implementation that holds a single internal DefaultListableBeanFactory instance and does not assume a specific bean definition format.
 class StaticApplicationContext
          ApplicationContext implementation which supports programmatic registration of beans and messages, rather than reading bean definitions from external configuration sources.
 

Methods in org.springframework.context.support that return ApplicationContext
 ApplicationContext ApplicationObjectSupport.getApplicationContext()
          Return the ApplicationContext instance used by this object.
 ApplicationContext AbstractApplicationContext.getParent()
          Return the parent context, or null if there is no parent (that is, this context is the root of the context hierarchy).
 

Methods in org.springframework.context.support with parameters of type ApplicationContext
 void ApplicationObjectSupport.setApplicationContext(ApplicationContext context)
           
 void AbstractApplicationContext.setParent(ApplicationContext parent)
           
 void GenericApplicationContext.setParent(ApplicationContext parent)
          Set the parent of this application context, also setting the parent of the internal BeanFactory accordingly.
 

Constructors in org.springframework.context.support with parameters of type ApplicationContext
AbstractApplicationContext(ApplicationContext parent)
          Create a new AbstractApplicationContext with the given parent context.
AbstractRefreshableApplicationContext(ApplicationContext parent)
          Create a new AbstractRefreshableApplicationContext with the given parent context.
AbstractXmlApplicationContext(ApplicationContext parent)
          Create a new AbstractXmlApplicationContext with the given parent context.
ApplicationContextAwareProcessor(ApplicationContext applicationContext)
          Create a new ApplicationContextAwareProcessor for the given context.
ClassPathXmlApplicationContext(String[] configLocations, ApplicationContext parent)
          Create a new ClassPathXmlApplicationContext with the given parent, loading the definitions from the given XML files and automatically refreshing the context.
ClassPathXmlApplicationContext(String[] configLocations, boolean refresh, ApplicationContext parent)
          Create a new ClassPathXmlApplicationContext with the given parent, loading the definitions from the given XML files.
ClassPathXmlApplicationContext(String[] paths, Class clazz, ApplicationContext parent)
          Create a new ClassPathXmlApplicationContext with the given parent, loading the definitions from the given XML files and automatically refreshing the context.
FileSystemXmlApplicationContext(String[] configLocations, ApplicationContext parent)
          Create a new FileSystemXmlApplicationContext with the given parent, loading the definitions from the given XML files and automatically refreshing the context.
FileSystemXmlApplicationContext(String[] configLocations, boolean refresh, ApplicationContext parent)
          Create a new FileSystemXmlApplicationContext with the given parent, loading the definitions from the given XML files.
GenericApplicationContext(ApplicationContext parent)
          Create a new GenericApplicationContext with the given parent.
GenericApplicationContext(DefaultListableBeanFactory beanFactory, ApplicationContext parent)
          Create a new GenericApplicationContext with the given DefaultListableBeanFactory.
StaticApplicationContext(ApplicationContext parent)
          Create a new StaticApplicationContext with the given parent.
 

Uses of ApplicationContext in org.springframework.jca.context
 

Classes in org.springframework.jca.context that implement ApplicationContext
 class ResourceAdapterApplicationContext
          ApplicationContext implementation for a JCA ResourceAdapter.
 

Uses of ApplicationContext in org.springframework.remoting.jaxrpc
 

Methods in org.springframework.remoting.jaxrpc that return ApplicationContext
protected  ApplicationContext ServletEndpointSupport.getApplicationContext()
          Return the current Spring ApplicationContext.
 

Uses of ApplicationContext in org.springframework.scheduling.quartz
 

Methods in org.springframework.scheduling.quartz with parameters of type ApplicationContext
 void JobDetailBean.setApplicationContext(ApplicationContext applicationContext)
           
 void SchedulerFactoryBean.setApplicationContext(ApplicationContext applicationContext)
           
 

Uses of ApplicationContext in org.springframework.test.annotation
 

Methods in org.springframework.test.annotation with parameters of type ApplicationContext
protected  void AbstractAnnotationAwareTransactionalTests.findUniqueProfileValueSourceFromContext(ApplicationContext ac)
           
 

Uses of ApplicationContext in org.springframework.ui.context.support
 

Methods in org.springframework.ui.context.support with parameters of type ApplicationContext
static ThemeSource UiApplicationContextUtils.initThemeSource(ApplicationContext context)
          Initialize the ThemeSource for the given application context, autodetecting a bean with the name "themeSource".
 

Uses of ApplicationContext in org.springframework.web.context
 

Subinterfaces of ApplicationContext in org.springframework.web.context
 interface ConfigurableWebApplicationContext
          Interface to be implemented by configurable web application contexts.
 interface WebApplicationContext
          Interface to provide configuration for a web application.
 

Methods in org.springframework.web.context that return ApplicationContext
protected  ApplicationContext ContextLoader.loadParentContext(ServletContext servletContext)
          Template method with default implementation (which may be overridden by a subclass), to load or obtain an ApplicationContext instance which will be used as the parent context of the root WebApplicationContext.
 

Methods in org.springframework.web.context with parameters of type ApplicationContext
protected  WebApplicationContext ContextLoader.createWebApplicationContext(ServletContext servletContext, ApplicationContext parent)
          Instantiate the root WebApplicationContext for this loader, either the default context class or a custom context class if specified.
 

Uses of ApplicationContext in org.springframework.web.context.support
 

Classes in org.springframework.web.context.support that implement ApplicationContext
 class AbstractRefreshableWebApplicationContext
          AbstractRefreshableApplicationContext subclass which implements the ConfigurableWebApplicationContext interface for web environments.
 class GenericWebApplicationContext
          Subclass of GenericApplicationContext, suitable for web environments.
 class StaticWebApplicationContext
          Static WebApplicationContext implementation for testing.
 class XmlWebApplicationContext
          WebApplicationContext implementation which takes its configuration from XML documents, understood by an XmlBeanDefinitionReader.
 

Uses of ApplicationContext in org.springframework.web.portlet
 

Methods in org.springframework.web.portlet that return ApplicationContext
protected  ApplicationContext FrameworkPortlet.createPortletApplicationContext(ApplicationContext parent)
          Instantiate the PortletApplicationContext for this portlet, either a default XmlPortletApplicationContext or a custom context class if set.
 ApplicationContext FrameworkPortlet.getPortletApplicationContext()
          Return this portlet's ApplicationContext.
protected  ApplicationContext FrameworkPortlet.initPortletApplicationContext()
          Initialize and publish the PortletApplicationContext for this portlet.
 

Methods in org.springframework.web.portlet with parameters of type ApplicationContext
protected  Object DispatcherPortlet.createDefaultStrategy(ApplicationContext context, Class clazz)
          Create a default strategy.
protected  ApplicationContext FrameworkPortlet.createPortletApplicationContext(ApplicationContext parent)
          Instantiate the PortletApplicationContext for this portlet, either a default XmlPortletApplicationContext or a custom context class if set.
protected  List DispatcherPortlet.getDefaultStrategies(ApplicationContext context, Class strategyInterface)
          Create a List of default strategy objects for the given strategy interface.
protected  Object DispatcherPortlet.getDefaultStrategy(ApplicationContext context, Class strategyInterface)
          Return the default strategy object for the given strategy interface.
protected  void DispatcherPortlet.initStrategies(ApplicationContext context)
          Refresh the strategy objects that this portlet uses.
protected  void FrameworkPortlet.onRefresh(ApplicationContext context)
          Template method which can be overridden to add portlet-specific refresh work.
 void DispatcherPortlet.onRefresh(ApplicationContext context)
          This implementation calls DispatcherPortlet.initStrategies(org.springframework.context.ApplicationContext).
 

Uses of ApplicationContext in org.springframework.web.portlet.context
 

Subinterfaces of ApplicationContext in org.springframework.web.portlet.context
 interface ConfigurablePortletApplicationContext
          Interface to be implemented by configurable portlet application contexts.
 

Classes in org.springframework.web.portlet.context that implement ApplicationContext
 class AbstractRefreshablePortletApplicationContext
          AbstractRefreshableApplicationContext subclass which implements the ConfigurablePortletApplicationContext interface for portlet environments.
 class StaticPortletApplicationContext
          Static Portlet-based ApplicationContext implementation for testing.
 class XmlPortletApplicationContext
          Portlet-based WebApplicationContext implementation which takes its configuration from XML documents, understood by an XmlBeanDefinitionReader.
 

Methods in org.springframework.web.portlet.context that return ApplicationContext
static ApplicationContext PortletApplicationContextUtils.getRequiredWebApplicationContext(PortletContext pc)
          Find the root WebApplicationContext for this portlet application, which is typically loaded via ContextLoaderListener or ContextLoaderServlet.
static ApplicationContext PortletApplicationContextUtils.getWebApplicationContext(PortletContext pc)
          Find the root WebApplicationContext for this portlet application, which is typically loaded via ContextLoaderListener or ContextLoaderServlet.
 

Methods in org.springframework.web.portlet.context with parameters of type ApplicationContext
 void StaticPortletApplicationContext.setParent(ApplicationContext parent)
           
 void AbstractRefreshablePortletApplicationContext.setParent(ApplicationContext parent)
           
 

Uses of ApplicationContext in org.springframework.web.servlet
 

Methods in org.springframework.web.servlet with parameters of type ApplicationContext
protected  Object DispatcherServlet.createDefaultStrategy(ApplicationContext context, Class clazz)
          Create a default strategy.
protected  List DispatcherServlet.getDefaultStrategies(ApplicationContext context, Class strategyInterface)
          Create a List of default strategy objects for the given strategy interface.
protected  Object DispatcherServlet.getDefaultStrategy(ApplicationContext context, Class strategyInterface)
          Return the default strategy object for the given strategy interface.
protected  void DispatcherServlet.initStrategies(ApplicationContext context)
          Initialize the strategy objects that this servlet uses.
protected  void FrameworkServlet.onRefresh(ApplicationContext context)
          Template method which can be overridden to add servlet-specific refresh work.
protected  void DispatcherServlet.onRefresh(ApplicationContext context)
          This implementation calls DispatcherServlet.initStrategies(org.springframework.context.ApplicationContext).
 

Uses of ApplicationContext in org.springframework.web.servlet.view.tiles
 

Methods in org.springframework.web.servlet.view.tiles that return ApplicationContext
protected  ApplicationContext ComponentControllerSupport.getApplicationContext()
          Return the current Spring ApplicationContext.
 


The Spring Framework

Copyright © 2002-2007 The Spring Framework.