Class RSocketServerBootstrap
java.lang.Object
org.springframework.boot.rsocket.context.RSocketServerBootstrap
- All Implemented Interfaces:
 Aware,ApplicationEventPublisherAware,Lifecycle,Phased,SmartLifecycle
public class RSocketServerBootstrap
extends Object
implements ApplicationEventPublisherAware, SmartLifecycle
Bootstrap an 
RSocketServer and start it with the application context.- Since:
 - 2.2.0
 - Author:
 - Brian Clozel
 
- 
Field Summary
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE - 
Constructor Summary
ConstructorsConstructorDescriptionRSocketServerBootstrap(RSocketServerFactory serverFactory, io.rsocket.SocketAcceptor socketAcceptor)  - 
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher) voidstart()voidstop()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.SmartLifecycle
getPhase, isAutoStartup, stop 
- 
Constructor Details
- 
RSocketServerBootstrap
public RSocketServerBootstrap(RSocketServerFactory serverFactory, io.rsocket.SocketAcceptor socketAcceptor)  
 - 
 - 
Method Details
- 
setApplicationEventPublisher
- Specified by:
 setApplicationEventPublisherin interfaceApplicationEventPublisherAware
 - 
start
public void start() - 
stop
public void stop() - 
isRunning
public boolean isRunning() 
 -