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.test.context This package contains the Spring TestContext Framework which provides annotation-driven unit and integration testing support that is agnostic of the actual testing framework in use. 
org.springframework.test.context.junit38 Support classes for ApplicationContext-based and transactional tests run with JUnit 3.8 and the Spring TestContext Framework
org.springframework.test.context.junit4 Support classes for ApplicationContext-based and transactional tests run with JUnit 4.4 and the Spring TestContext Framework
org.springframework.test.context.testng Support classes for ApplicationContext-based and transactional tests run with TestNG and the Spring TestContext Framework
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 ApplicationContextEvent.getApplicationContext()
          Get the ApplicationContext that the event was raised for.
 

Constructors in org.springframework.context.event with parameters of type ApplicationContext
ApplicationContextEvent(ApplicationContext source)
          Create a new ContextStartedEvent.
ContextClosedEvent(ApplicationContext source)
          Creates a new ContextClosedEvent.
ContextRefreshedEvent(ApplicationContext source)
          Create a new ContextRefreshedEvent.
ContextStartedEvent(ApplicationContext source)
          Create a new ContextStartedEvent.
ContextStoppedEvent(ApplicationContext source)
          Create a new ContextStoppedEvent.
 

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 AbstractRefreshableConfigApplicationContext
          AbstractRefreshableApplicationContext subclass that adds common handling of specified config locations.
 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 that this object is associated with.
 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
protected  void ApplicationObjectSupport.initApplicationContext(ApplicationContext context)
          Subclasses can override this for custom initialization behavior.
 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.
AbstractRefreshableConfigApplicationContext(ApplicationContext parent)
          Create a new AbstractRefreshableConfigApplicationContext with the given parent context.
AbstractXmlApplicationContext(ApplicationContext parent)
          Create a new AbstractXmlApplicationContext with the given parent context.
ClassPathXmlApplicationContext(ApplicationContext parent)
          Create a new ClassPathXmlApplicationContext for bean-style configuration.
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(ApplicationContext parent)
          Create a new FileSystemXmlApplicationContext for bean-style configuration.
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 SchedulerFactoryBean.setApplicationContext(ApplicationContext applicationContext)
           
 void JobDetailBean.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 applicationContext)
          Deprecated. Use @ProfileValueSourceConfiguration instead.
 

Uses of ApplicationContext in org.springframework.test.context
 

Methods in org.springframework.test.context that return ApplicationContext
 ApplicationContext TestContext.getApplicationContext()
          Get the application context for this test context, possibly cached.
 ApplicationContext ContextLoader.loadContext(String... locations)
          Loads a new context based on the supplied locations, configures the context, and finally returns the context in fully refreshed state.
 

Uses of ApplicationContext in org.springframework.test.context.junit38
 

Fields in org.springframework.test.context.junit38 declared as ApplicationContext
protected  ApplicationContext AbstractJUnit38SpringContextTests.applicationContext
          The ApplicationContext that was injected into this test instance via AbstractJUnit38SpringContextTests.setApplicationContext(ApplicationContext).
 

Methods in org.springframework.test.context.junit38 with parameters of type ApplicationContext
 void AbstractJUnit38SpringContextTests.setApplicationContext(ApplicationContext applicationContext)
          Sets the ApplicationContext to be used by this test instance, provided via ApplicationContextAware semantics.
 

Uses of ApplicationContext in org.springframework.test.context.junit4
 

Fields in org.springframework.test.context.junit4 declared as ApplicationContext
protected  ApplicationContext AbstractJUnit4SpringContextTests.applicationContext
          The ApplicationContext that was injected into this test instance via AbstractJUnit4SpringContextTests.setApplicationContext(ApplicationContext).
 

Methods in org.springframework.test.context.junit4 with parameters of type ApplicationContext
 void AbstractJUnit4SpringContextTests.setApplicationContext(ApplicationContext applicationContext)
          Set the ApplicationContext to be used by this test instance, provided via ApplicationContextAware semantics.
 

Uses of ApplicationContext in org.springframework.test.context.testng
 

Fields in org.springframework.test.context.testng declared as ApplicationContext
protected  ApplicationContext AbstractTestNGSpringContextTests.applicationContext
          The ApplicationContext that was injected into this test instance via AbstractTestNGSpringContextTests.setApplicationContext(ApplicationContext).
 

Methods in org.springframework.test.context.testng with parameters of type ApplicationContext
 void AbstractTestNGSpringContextTests.setApplicationContext(ApplicationContext applicationContext)
          Set the ApplicationContext to be used by this test instance, provided via ApplicationContextAware semantics.
 

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.
 

Methods in org.springframework.web.context.support with parameters of type ApplicationContext
protected  void WebApplicationObjectSupport.initApplicationContext(ApplicationContext context)
          Calls WebApplicationObjectSupport.initServletContext(javax.servlet.ServletContext) if the given ApplicationContext is a WebApplicationContext.
 

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 Portlet ApplicationContext 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 Portlet ApplicationContext 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 Portlet ApplicationContext 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(javax.portlet.PortletContext pc)
          Find the root WebApplicationContext for this portlet application, which is typically loaded via ContextLoaderListener or ContextLoaderServlet.
static ApplicationContext PortletApplicationContextUtils.getWebApplicationContext(javax.portlet.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 DispatcherServlet.onRefresh(ApplicationContext context)
          This implementation calls DispatcherServlet.initStrategies(org.springframework.context.ApplicationContext).
protected  void FrameworkServlet.onRefresh(ApplicationContext context)
          Template method which can be overridden to add servlet-specific refresh work.
 

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.
 



Copyright © 2002-2008 The Spring Framework.