org.springframework.boot.rsocket.context

Class RSocketServerInitializedEvent

  • java.lang.Object
    • java.util.EventObject
      • org.springframework.context.ApplicationEvent
        • org.springframework.boot.rsocket.context.RSocketServerInitializedEvent
  • All Implemented Interfaces:
    java.io.Serializable


    public class RSocketServerInitializedEvent
    extends org.springframework.context.ApplicationEvent
    Event to be published after the application context is refreshed and the RSocketServer is ready. Useful for obtaining the local port of a running server.
    Since:
    2.2.0
    See Also:
    Serialized Form
    • Constructor Detail

      • RSocketServerInitializedEvent

        public RSocketServerInitializedEvent(RSocketServer server)
    • Method Detail

      • getSource

        public RSocketServer getSource()
        Access the source of the event (an RSocketServer).
        Overrides:
        getSource in class java.util.EventObject
        Returns:
        the embedded web server