org.springframework.boot.context.embedded

Class EmbeddedServletContainerInitializedEvent

  • All Implemented Interfaces:
    Serializable


    public class EmbeddedServletContainerInitializedEvent
    extends org.springframework.context.ApplicationEvent
    Event to be published after the context is refreshed and the EmbeddedServletContainer is ready. Useful for obtaining the local port of a running server. Normally it will have been started, but listeners are free to inspect the server and stop and start it if they want to.
    Author:
    Dave Syer
    See Also:
    Serialized Form

Copyright © 2014 Pivotal Software, Inc.. All rights reserved.