public abstract class

ApplicationContextEvent

extends ApplicationEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ org.springframework.context.ApplicationEvent
       ↳ org.springframework.context.event.ApplicationContextEvent
Known Direct Subclasses

Class Overview

Base class for events raised for an ApplicationContext.

Summary

[Expand]
Inherited Fields
From class java.util.EventObject
Public Constructors
ApplicationContextEvent(ApplicationContext source)
Create a new ContextStartedEvent.
Public Methods
final ApplicationContext getApplicationContext()
Get the ApplicationContext that the event was raised for.
[Expand]
Inherited Methods
From class org.springframework.context.ApplicationEvent
From class java.util.EventObject
From class java.lang.Object

Public Constructors

public ApplicationContextEvent (ApplicationContext source)

Create a new ContextStartedEvent.

Parameters
source the ApplicationContext that the event is raised for (must not be null)

Public Methods

public final ApplicationContext getApplicationContext ()

Get the ApplicationContext that the event was raised for.