List of usage examples for org.springframework.context SmartLifecycle interface-usage
From source file org.springframework.statemachine.support.LifecycleObjectSupport.java
/**
* Convenient base class for object which needs spring task scheduler, task
* executor and life cycle handling.
*
* @author Janne Valkealahti
*
From source file org.springframework.web.socket.client.ConnectionManagerSupport.java
/**
* A base class for WebSocket connection managers. Provides a declarative style of
* connecting to a WebSocket server given a URI to connect to. The connection occurs when
* the Spring ApplicationContext is refreshed, if the {@link #autoStartup} property is set
* to {@code true}, or if set to {@code false}, the {@link #start()} and #stop methods can
* be invoked manually.
From source file org.springframework.web.socket.client.jetty.JettyWebSocketClient.java
/** * @author Rossen Stoyanchev * @since 4.0 */ public class JettyWebSocketClient implements WebSocketClient, SmartLifecycle {
From source file org.springframework.web.socket.messaging.SubProtocolWebSocketHandler.java
/**
* An implementation of {@link WebSocketHandler} that delegates incoming WebSocket
* messages to a {@link SubProtocolHandler} along with a {@link MessageChannel} to which
* the sub-protocol handler can send messages from WebSocket clients to the application.
*
* <p>Also an implementation of {@link MessageHandler} that finds the WebSocket session
From source file org.springframework.web.socket.messaging.WebSocketStompClient.java
/**
* A STOMP over WebSocket client that connects using an implementation of
* {@link org.springframework.web.socket.client.WebSocketClient WebSocketClient}
* including {@link org.springframework.web.socket.sockjs.client.SockJsClient
* SockJsClient}.
*
From source file org.springframework.xd.dirt.container.DefaultContainer.java
/** * @author Mark Fisher * @author Jennifer Hickey * @author David Turanski */ public class DefaultContainer implements Container, SmartLifecycle {
From source file org.springframework.xd.dirt.container.XDContainer.java
/**
* @author Mark Fisher
* @author Jennifer Hickey
* @author David Turanski
* @author Ilayaperumal Gopinathan
*/
From source file org.springframework.xd.dirt.server.AdminServer.java
/**
* @author Mark Fisher
* @author Jennifer Hickey
* @author Gary Russell
* @author David Turanski
*/
From source file org.springframework.xd.dirt.stream.StreamServer.java
/**
* @author Mark Fisher
* @author Jennifer Hickey
* @author Gary Russell
* @author David Turanski
*/
From source file org.springframework.xd.dirt.zookeeper.ZooKeeperConnection.java
/**
* A wrapper for a {@link CuratorFramework} instance whose lifecycle is managed as a Spring bean. Accepts
* {@link ZooKeeperConnectionListener}s to be notified when connection or disconnection events are received.
*
* @author Mark Fisher
* @author David Turanski