All Known Implementing Classes:
XmlWebApplicationContext, StaticApplicationContext, ServerSessionMessageListenerContainer, ClassPathXmlApplicationContext, GenericMessageEndpointManager, GenericApplicationContext, AbstractXmlApplicationContext, GenericWebApplicationContext, SimpleMessageListenerContainer, AbstractPollingMessageListenerContainer, DefaultMessageListenerContainer, ResourceAdapterApplicationContext, AbstractRefreshableWebApplicationContext, ConfigurableApplicationContext, DefaultMessageListenerContainer102, FileSystemXmlApplicationContext, AbstractRefreshableConfigApplicationContext, SchedulerFactoryBean, ConfigurableWebApplicationContext, JmsMessageEndpointManager, StaticPortletApplicationContext, AbstractMessageListenerContainer, StaticWebApplicationContext, AbstractApplicationContext, AbstractRefreshableApplicationContext, AbstractRefreshablePortletApplicationContext, AbstractJmsListeningContainer, XmlPortletApplicationContext, ConfigurablePortletApplicationContext, ServerSessionMessageListenerContainer102, TimerManagerFactoryBean, SimpleMessageListenerContainer102
Can be implemented by both components (typically a Spring bean defined in a Spring org.springframework.beans.factory.BeanFactory ) and containers (typically a Spring ApplicationContext ). Containers will propagate start/stop signals to all components that apply.
Can be used for direct invocations or for management operations via JMX. In the latter case, the org.springframework.jmx.export.MBeanExporter will typically be defined with an org.springframework.jmx.export.assembler.InterfaceBasedMBeanInfoAssembler , restricting the visibility of activity-controlled components to the Lifecycle interface.
Juergen - Hoeller2.0 - | Method from org.springframework.context.Lifecycle Summary: |
|---|
| isRunning, start, stop |
| Method from org.springframework.context.Lifecycle Detail: |
|---|
In the case of a container, this will return |
In the case of a container, this will propagate the start signal to all components that apply. |
In the case of a container, this will propagate the stop signal to all components that apply. |