The Spring Framework

org.springframework.context.event
Class ContextRefreshedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by org.springframework.context.event.ContextRefreshedEvent
All Implemented Interfaces:
Serializable

public class ContextRefreshedEvent
extends ApplicationEvent

Event raised when an ApplicationContext gets initialized or refreshed.

Since:
04.03.2003
Author:
Juergen Hoeller
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ContextRefreshedEvent(ApplicationContext source)
          Create a new ContextRefreshedEvent.
 
Method Summary
 ApplicationContext getApplicationContext()
          Get the ApplicationContext that has been initialized or refreshed.
 
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContextRefreshedEvent

public ContextRefreshedEvent(ApplicationContext source)
Create a new ContextRefreshedEvent.

Parameters:
source - the ApplicationContext that has been initialized or refreshed (must not be null)
Method Detail

getApplicationContext

public ApplicationContext getApplicationContext()
Get the ApplicationContext that has been initialized or refreshed.


The Spring Framework

Copyright © 2002-2007 The Spring Framework.