Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » context » event » [javadoc | source]
org.springframework.context.event
abstract public class: ApplicationContextEvent [javadoc | source]
java.lang.Object
   java.util.EventObject
      org.springframework.context.ApplicationEvent
         org.springframework.context.event.ApplicationContextEvent

All Implemented Interfaces:
    Serializable

Direct Known Subclasses:
    ContextClosedEvent, ContextStoppedEvent, ContextStartedEvent, ContextRefreshedEvent

Base class for events raised for an ApplicationContext.
Constructor:
 public ApplicationContextEvent(ApplicationContext source) 
    Create a new ContextStartedEvent.
    Parameters:
    source - the ApplicationContext that the event is raised for (must not be null)
Method from org.springframework.context.event.ApplicationContextEvent Summary:
getApplicationContext
Methods from org.springframework.context.ApplicationEvent:
getTimestamp
Methods from java.util.EventObject:
getSource,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.context.event.ApplicationContextEvent Detail:
 public final ApplicationContext getApplicationContext() 
    Get the ApplicationContext that the event was raised for.