Class RSocketServerBootstrap
java.lang.Object
org.springframework.boot.rsocket.context.RSocketServerBootstrap
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware,- org.springframework.context.ApplicationEventPublisherAware,- org.springframework.context.Lifecycle,- org.springframework.context.Phased,- org.springframework.context.SmartLifecycle
public class RSocketServerBootstrap
extends Object
implements org.springframework.context.ApplicationEventPublisherAware, org.springframework.context.SmartLifecycle
Bootstrap an 
RSocketServer and start it with the application context.- Since:
- 2.2.0
- 
Field SummaryFields inherited from interface org.springframework.context.SmartLifecycleDEFAULT_PHASE
- 
Constructor SummaryConstructorsConstructorDescriptionRSocketServerBootstrap(RSocketServerFactory serverFactory, io.rsocket.SocketAcceptor socketAcceptor) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanvoidsetApplicationEventPublisher(org.springframework.context.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- 
setApplicationEventPublisherpublic void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher) - Specified by:
- setApplicationEventPublisherin interface- org.springframework.context.ApplicationEventPublisherAware
 
- 
startpublic void start()- Specified by:
- startin interface- org.springframework.context.Lifecycle
 
- 
stoppublic void stop()- Specified by:
- stopin interface- org.springframework.context.Lifecycle
 
- 
isRunningpublic boolean isRunning()- Specified by:
- isRunningin interface- org.springframework.context.Lifecycle
 
 
-