クラス RSocketServerBootstrap
java.lang.ObjectSE
org.springframework.boot.rsocket.context.RSocketServerBootstrap
- 実装されているすべてのインターフェース:
Aware、ApplicationEventPublisherAware、Lifecycle、Phased、SmartLifecycle
public class RSocketServerBootstrap
extends ObjectSE
implements ApplicationEventPublisherAware, SmartLifecycle
RSocketServer をブートストラップし、アプリケーションコンテキストで起動します。- 導入:
- 2.2.0
- 作成者:
- Brian Clozel
フィールドのサマリー
インターフェース org.springframework.context.SmartLifecycle から継承されたフィールド
DEFAULT_PHASEコンストラクターの概要
コンストラクターコンストラクター説明RSocketServerBootstrap(RSocketServerFactory serverFactory, io.rsocket.SocketAcceptor socketAcceptor) 方法の概要
修飾子と型メソッド説明booleanvoidsetApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher) voidstart()voidstop()クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース org.springframework.context.SmartLifecycle から継承されたメソッド
getPhase, isAutoStartup, stop
コンストラクターの詳細
RSocketServerBootstrap
public RSocketServerBootstrap(RSocketServerFactory serverFactory, io.rsocket.SocketAcceptor socketAcceptor)
メソッドの詳細
setApplicationEventPublisher
- 次で指定:
- インターフェース
ApplicationEventPublisherAwareのsetApplicationEventPublisher
start
public void start()stop
public void stop()isRunning
public boolean isRunning()