Uses of Interface
org.springframework.context.Lifecycle
Packages that use Lifecycle Package Description 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.annotation Annotation support for the Application Context, including JSR-250 "common" annotations, component-scanning, and Java-based metadata for creating Spring-managed objects.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.7 compliant RAR file.org.springframework.jca.endpoint This package provides a facility for generic JCA message endpoint management.org.springframework.jms.config Support package for declarative messaging configuration, with Java configuration and XML schema support.org.springframework.jms.listener This package contains the base message listener container facility.org.springframework.jms.listener.endpoint This package provides JCA-based endpoint management for JMS message listeners.org.springframework.messaging.simp.annotation.support Support classes for handling messages from simple messaging protocols (like STOMP).org.springframework.messaging.simp.broker Provides a "simple" message broker implementation along with an abstract base class and other supporting types such as a registry for subscriptions.org.springframework.messaging.simp.stomp Generic support for simple messaging protocols (like STOMP).org.springframework.messaging.simp.user Support for handling messages to "user" destinations (i.e.org.springframework.scheduling.commonj Convenience classes for scheduling based on the CommonJ WorkManager/TimerManager facility, as supported by IBM WebSphere 6.0+ and BEA WebLogic 9.0+.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.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 theorg.springframework.web.contextpackage, such as WebApplicationContext implementations and various utility classes.org.springframework.web.reactive.socket.client Client support for WebSocket interactions.org.springframework.web.reactive.socket.server.support Server-side support classes for WebSocket requests.org.springframework.web.reactive.socket.server.upgrade Holds implementations ofRequestUpgradeStrategy.org.springframework.web.socket.client Client-side abstractions for WebSocket applications.org.springframework.web.socket.client.jetty Client-side support for the Jetty WebSocket API.org.springframework.web.socket.client.standard Client-side classes for use with standard Java WebSocket endpoints.org.springframework.web.socket.messaging WebSocket integration for Spring's messaging module.org.springframework.web.socket.server.jetty Server-side support for the Jetty 9+ WebSocket API.org.springframework.web.socket.server.support Server-side support classes including container-specific strategies for upgrading a request.org.springframework.web.socket.sockjs.client SockJS client implementation ofWebSocketClient.org.springframework.web.socket.sockjs.support Support classes for SockJS including anAbstractSockJsServiceimplementation.org.springframework.web.socket.sockjs.transport Server-side support for SockJS transports includingTransportHandlerimplementations for processing incoming requests, theirsessioncounterparts for sending messages over the various transports, andDefaultSockJsService.org.springframework.web.socket.sockjs.transport.handler TransportHandlerimplementation classes as well as a concreteSockJsService.Uses of Lifecycle in org.springframework.context
Subinterfaces of Lifecycle in org.springframework.context Modifier and Type Interface Description interfaceConfigurableApplicationContextSPI interface to be implemented by most if not all application contexts.interfaceLifecycleProcessorStrategy interface for processing Lifecycle beans within the ApplicationContext.interfaceSmartLifecycleAn extension of theLifecycleinterface for those objects that require to be started uponApplicationContextrefresh and/or shutdown in a particular order.Uses of Lifecycle in org.springframework.context.annotation
Classes in org.springframework.context.annotation that implement Lifecycle Modifier and Type Class Description classAnnotationConfigApplicationContextStandalone application context, accepting component classes as input — in particular@Configuration-annotated classes, but also plain@Componenttypes and JSR-330 compliant classes usingjavax.injectannotations.Uses of Lifecycle in org.springframework.context.support
Classes in org.springframework.context.support that implement Lifecycle Modifier and Type Class Description classAbstractApplicationContextAbstract implementation of theApplicationContextinterface.classAbstractRefreshableApplicationContextBase class forApplicationContextimplementations which are supposed to support multiple calls toAbstractApplicationContext.refresh(), creating a new internal bean factory instance every time.classAbstractRefreshableConfigApplicationContextAbstractRefreshableApplicationContextsubclass that adds common handling of specified config locations.classAbstractXmlApplicationContextConvenient base class forApplicationContextimplementations, drawing configuration from XML documents containing bean definitions understood by anXmlBeanDefinitionReader.classClassPathXmlApplicationContextStandalone 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.classDefaultLifecycleProcessorDefault implementation of theLifecycleProcessorstrategy.classFileSystemXmlApplicationContextStandalone 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.classGenericApplicationContextGeneric ApplicationContext implementation that holds a single internalDefaultListableBeanFactoryinstance and does not assume a specific bean definition format.classGenericGroovyApplicationContextAnApplicationContextimplementation that extendsGenericApplicationContextand implementsGroovyObjectsuch that beans can be retrieved with the dot de-reference syntax instead of usingAbstractApplicationContext.getBean(java.lang.String).classGenericXmlApplicationContextConvenient application context with built-in XML support.classStaticApplicationContextApplicationContextimplementation 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 types with arguments of type Lifecycle Modifier and Type Method Description protected Map<String,Lifecycle>DefaultLifecycleProcessor. getLifecycleBeans()Retrieve all applicable Lifecycle beans: all singletons that have already been created, as well as all SmartLifecycle beans (even if they are marked as lazy-init).Methods in org.springframework.context.support with parameters of type Lifecycle Modifier and Type Method Description protected intDefaultLifecycleProcessor. getPhase(Lifecycle bean)Determine the lifecycle phase of the given bean.Uses of Lifecycle in org.springframework.jca.context
Classes in org.springframework.jca.context that implement Lifecycle Modifier and Type Class Description classResourceAdapterApplicationContextApplicationContextimplementation for a JCA ResourceAdapter.Uses of Lifecycle in org.springframework.jca.endpoint
Classes in org.springframework.jca.endpoint that implement Lifecycle Modifier and Type Class Description classGenericMessageEndpointManagerGeneric bean that manages JCA 1.7 message endpoints within a Spring application context, activating and deactivating the endpoint as part of the application context's lifecycle.Uses of Lifecycle in org.springframework.jms.config
Classes in org.springframework.jms.config that implement Lifecycle Modifier and Type Class Description classJmsListenerEndpointRegistryCreates the necessaryMessageListenerContainerinstances for the registered endpoints.Uses of Lifecycle in org.springframework.jms.listener
Subinterfaces of Lifecycle in org.springframework.jms.listener Modifier and Type Interface Description interfaceMessageListenerContainerInternal abstraction used by the framework representing a message listener container.Classes in org.springframework.jms.listener that implement Lifecycle Modifier and Type Class Description classAbstractJmsListeningContainerCommon base class for all containers which need to implement listening based on a JMS Connection (either shared or freshly obtained for each attempt).classAbstractMessageListenerContainerAbstract base class for Spring message listener container implementations.classAbstractPollingMessageListenerContainerBase class for listener container implementations which are based on polling.classDefaultMessageListenerContainerMessage listener container variant that uses plain JMS client APIs, specifically a loop ofMessageConsumer.receive()calls that also allow for transactional reception of messages (registering them with XA transactions).classSimpleMessageListenerContainerMessage listener container that uses the plain JMS client API'sMessageConsumer.setMessageListener()method to create concurrent MessageConsumers for the specified listeners.Uses of Lifecycle in org.springframework.jms.listener.endpoint
Classes in org.springframework.jms.listener.endpoint that implement Lifecycle Modifier and Type Class Description classJmsMessageEndpointManagerExtension of the generic JCA 1.5GenericMessageEndpointManager, adding JMS-specific support for ActivationSpec configuration.Uses of Lifecycle in org.springframework.messaging.simp.annotation.support
Classes in org.springframework.messaging.simp.annotation.support that implement Lifecycle Modifier and Type Class Description classSimpAnnotationMethodMessageHandlerA handler for messages delegating to@MessageMappingand@SubscribeMappingannotated methods.Uses of Lifecycle in org.springframework.messaging.simp.broker
Classes in org.springframework.messaging.simp.broker that implement Lifecycle Modifier and Type Class Description classAbstractBrokerMessageHandlerAbstract base class for aMessageHandlerthat broker messages to registered subscribers.classSimpleBrokerMessageHandlerA "simple" message broker that recognizes the message types defined inSimpMessageType, keeps track of subscriptions with the help of aSubscriptionRegistryand sends messages to subscribers.Uses of Lifecycle in org.springframework.messaging.simp.stomp
Classes in org.springframework.messaging.simp.stomp that implement Lifecycle Modifier and Type Class Description classStompBrokerRelayMessageHandlerAMessageHandlerthat handles messages by forwarding them to a STOMP broker.Uses of Lifecycle in org.springframework.messaging.simp.user
Classes in org.springframework.messaging.simp.user that implement Lifecycle Modifier and Type Class Description classUserDestinationMessageHandlerMessageHandlerwith support for "user" destinations.Uses of Lifecycle in org.springframework.scheduling.commonj
Classes in org.springframework.scheduling.commonj that implement Lifecycle Modifier and Type Class Description classTimerManagerAccessorDeprecated.as of 5.1, in favor of EE 7'sDefaultManagedTaskSchedulerclassTimerManagerFactoryBeanDeprecated.as of 5.1, in favor of EE 7'sDefaultManagedTaskSchedulerclassTimerManagerTaskSchedulerDeprecated.as of 5.1, in favor of EE 7'sDefaultManagedTaskSchedulerUses of Lifecycle in org.springframework.scheduling.quartz
Classes in org.springframework.scheduling.quartz that implement Lifecycle Modifier and Type Class Description classSchedulerFactoryBeanFactoryBeanthat creates and configures a QuartzScheduler, manages its lifecycle as part of the Spring application context, and exposes the Scheduler as bean reference for dependency injection.Uses of Lifecycle in org.springframework.web.context
Subinterfaces of Lifecycle in org.springframework.web.context Modifier and Type Interface Description interfaceConfigurableWebApplicationContextInterface to be implemented by configurable web application contexts.Uses of Lifecycle in org.springframework.web.context.support
Classes in org.springframework.web.context.support that implement Lifecycle Modifier and Type Class Description classAbstractRefreshableWebApplicationContextAbstractRefreshableApplicationContextsubclass which implements theConfigurableWebApplicationContextinterface for web environments.classAnnotationConfigWebApplicationContextWebApplicationContextimplementation which accepts component classes as input — in particular@Configuration-annotated classes, but also plain@Componentclasses and JSR-330 compliant classes usingjavax.injectannotations.classGenericWebApplicationContextSubclass ofGenericApplicationContext, suitable for web environments.classGroovyWebApplicationContextWebApplicationContextimplementation which takes its configuration from Groovy bean definition scripts and/or XML files, as understood by aGroovyBeanDefinitionReader.classStaticWebApplicationContextStaticWebApplicationContextimplementation for testing.classXmlWebApplicationContextWebApplicationContextimplementation which takes its configuration from XML documents, understood by anXmlBeanDefinitionReader.Uses of Lifecycle in org.springframework.web.reactive.socket.client
Classes in org.springframework.web.reactive.socket.client that implement Lifecycle Modifier and Type Class Description classJettyWebSocketClientAWebSocketClientimplementation for use with JettyWebSocketClient.Uses of Lifecycle in org.springframework.web.reactive.socket.server.support
Classes in org.springframework.web.reactive.socket.server.support that implement Lifecycle Modifier and Type Class Description classHandshakeWebSocketServiceWebSocketServiceimplementation that handles a WebSocket HTTP handshake request by delegating to aRequestUpgradeStrategywhich is either auto-detected (no-arg constructor) from the classpath but can also be explicitly configured.Uses of Lifecycle in org.springframework.web.reactive.socket.server.upgrade
Classes in org.springframework.web.reactive.socket.server.upgrade that implement Lifecycle Modifier and Type Class Description classJettyRequestUpgradeStrategyARequestUpgradeStrategyfor use with Jetty.Uses of Lifecycle in org.springframework.web.socket.client
Classes in org.springframework.web.socket.client that implement Lifecycle Modifier and Type Class Description classConnectionManagerSupportA base class for WebSocket connection managers.classWebSocketConnectionManagerA WebSocket connection manager that is given a URI, aWebSocketClient, and aWebSocketHandler, connects to a WebSocket server throughConnectionManagerSupport.start()andConnectionManagerSupport.stop()methods.Uses of Lifecycle in org.springframework.web.socket.client.jetty
Classes in org.springframework.web.socket.client.jetty that implement Lifecycle Modifier and Type Class Description classJettyWebSocketClientInitiates WebSocket requests to a WebSocket server programmatically through the Jetty WebSocket API.Uses of Lifecycle in org.springframework.web.socket.client.standard
Classes in org.springframework.web.socket.client.standard that implement Lifecycle Modifier and Type Class Description classAnnotatedEndpointConnectionManagerA WebSocket connection manager that is given a URI, aClientEndpoint-annotated endpoint, connects to a WebSocket server through theConnectionManagerSupport.start()andConnectionManagerSupport.stop()methods.classEndpointConnectionManagerA WebSocket connection manager that is given a URI, anEndpoint, connects to a WebSocket server through theConnectionManagerSupport.start()andConnectionManagerSupport.stop()methods.Uses of Lifecycle in org.springframework.web.socket.messaging
Classes in org.springframework.web.socket.messaging that implement Lifecycle Modifier and Type Class Description classSubProtocolWebSocketHandlerAn implementation ofWebSocketHandlerthat delegates incoming WebSocket messages to aSubProtocolHandleralong with aMessageChannelto which the sub-protocol handler can send messages from WebSocket clients to the application.classWebSocketAnnotationMethodMessageHandlerA sub-class ofSimpAnnotationMethodMessageHandlerto provide support forControllerAdvicewith global@MessageExceptionHandlermethods.classWebSocketStompClientA STOMP over WebSocket client that connects using an implementation ofWebSocketClientincludingSockJsClient.Uses of Lifecycle in org.springframework.web.socket.server.jetty
Classes in org.springframework.web.socket.server.jetty that implement Lifecycle Modifier and Type Class Description classJettyRequestUpgradeStrategyARequestUpgradeStrategyfor use with Jetty 9.4.Uses of Lifecycle in org.springframework.web.socket.server.support
Classes in org.springframework.web.socket.server.support that implement Lifecycle Modifier and Type Class Description classAbstractHandshakeHandlerA base class forHandshakeHandlerimplementations, independent from the Servlet API.classDefaultHandshakeHandlerA defaultHandshakeHandlerimplementation, extendingAbstractHandshakeHandlerwith Servlet-specific initialization support.classWebSocketHandlerMappingAn extension ofSimpleUrlHandlerMappingthat is also aSmartLifecyclecontainer and propagates start and stop calls to any handlers that implementLifecycle.classWebSocketHttpRequestHandlerAHttpRequestHandlerfor processing WebSocket handshake requests.Uses of Lifecycle in org.springframework.web.socket.sockjs.client
Classes in org.springframework.web.socket.sockjs.client that implement Lifecycle Modifier and Type Class Description classJettyXhrTransportAn XHR transport based on Jetty'sHttpClient.classSockJsClientA SockJS implementation ofWebSocketClientwith fallback alternatives that simulate a WebSocket interaction through plain HTTP streaming and long polling techniques..classWebSocketTransportA SockJSTransportthat uses aWebSocketClient.Uses of Lifecycle in org.springframework.web.socket.sockjs.support
Classes in org.springframework.web.socket.sockjs.support that implement Lifecycle Modifier and Type Class Description classSockJsHttpRequestHandlerAnHttpRequestHandlerthat allows mapping aSockJsServiceto requests in a Servlet container.Uses of Lifecycle in org.springframework.web.socket.sockjs.transport
Classes in org.springframework.web.socket.sockjs.transport that implement Lifecycle Modifier and Type Class Description classTransportHandlingSockJsServiceA basic implementation ofSockJsServicewith support for SPI-based transport handling and session management.Uses of Lifecycle in org.springframework.web.socket.sockjs.transport.handler
Classes in org.springframework.web.socket.sockjs.transport.handler that implement Lifecycle Modifier and Type Class Description classDefaultSockJsServiceA default implementation ofSockJsServicewith all defaultTransportHandlerimplementations pre-registered.classWebSocketTransportHandlerWebSocket-basedTransportHandler.