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 SummaryFields inherited from interface org.springframework.context.SmartLifecycleDEFAULT_PHASE
- 
Constructor SummaryConstructorsConstructorDescriptionRSocketServerBootstrap(RSocketServerFactory serverFactory, io.rsocket.SocketAcceptor socketAcceptor) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanvoidsetApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher) voidstart()voidstop()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.SmartLifecyclegetPhase, isAutoStartup, stop
- 
Constructor Details- 
RSocketServerBootstrappublic RSocketServerBootstrap(RSocketServerFactory serverFactory, io.rsocket.SocketAcceptor socketAcceptor) 
 
- 
- 
Method Details- 
setApplicationEventPublisher- Specified by:
- setApplicationEventPublisherin interface- ApplicationEventPublisherAware
 
- 
startpublic void start()
- 
stoppublic void stop()
- 
isRunningpublic boolean isRunning()
 
-