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 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(org.springframework.context.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
public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher) - Specified by:
 setApplicationEventPublisherin interfaceorg.springframework.context.ApplicationEventPublisherAware
 - 
start
public void start()- Specified by:
 startin interfaceorg.springframework.context.Lifecycle
 - 
stop
public void stop()- Specified by:
 stopin interfaceorg.springframework.context.Lifecycle
 - 
isRunning
public boolean isRunning()- Specified by:
 isRunningin interfaceorg.springframework.context.Lifecycle
 
 -