类 RSocketServerBootstrap
java.lang.Object
org.springframework.boot.rsocket.context.RSocketServerBootstrap
- 所有已实现的接口:
Aware
,ApplicationEventPublisherAware
,Lifecycle
,Phased
,SmartLifecycle
public class RSocketServerBootstrap
extends Object
implements ApplicationEventPublisherAware, SmartLifecycle
Bootstrap an
RSocketServer
and start it with the application context.- 从以下版本开始:
- 2.2.0
- 作者:
- Brian Clozel
-
字段概要
从接口继承的字段 org.springframework.context.SmartLifecycle
DEFAULT_PHASE
-
构造器概要
构造器构造器说明RSocketServerBootstrap
(RSocketServerFactory serverFactory, io.rsocket.SocketAcceptor socketAcceptor) -
方法概要
修饰符和类型方法说明boolean
void
setApplicationEventPublisher
(ApplicationEventPublisher applicationEventPublisher) void
start()
void
stop()
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 org.springframework.context.SmartLifecycle
getPhase, isAutoStartup, stop
-
构造器详细资料
-
RSocketServerBootstrap
public RSocketServerBootstrap(RSocketServerFactory serverFactory, io.rsocket.SocketAcceptor socketAcceptor)
-
-
方法详细资料
-
setApplicationEventPublisher
-
start
public void start() -
stop
public void stop() -
isRunning
public boolean isRunning()
-