public class EmbeddedServletContainerInitializedEvent
extends org.springframework.context.ApplicationEvent
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.source| Constructor and Description | 
|---|
| EmbeddedServletContainerInitializedEvent(org.springframework.context.ApplicationContext applicationContext,
                                        EmbeddedServletContainer source) | 
| Modifier and Type | Method and Description | 
|---|---|
| org.springframework.context.ApplicationContext | getApplicationContext()Access the application context that the container was created in. | 
| EmbeddedServletContainer | getEmbeddedServletContainer()Access the  EmbeddedServletContainer. | 
| EmbeddedServletContainer | getSource()Access the source of the event (an  EmbeddedServletContainer). | 
toStringpublic EmbeddedServletContainerInitializedEvent(org.springframework.context.ApplicationContext applicationContext,
                                        EmbeddedServletContainer source)
public EmbeddedServletContainer getEmbeddedServletContainer()
EmbeddedServletContainer.public EmbeddedServletContainer getSource()
EmbeddedServletContainer).getSource in class EventObjectpublic org.springframework.context.ApplicationContext getApplicationContext()
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.