站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.0.5 API 文档英文版

ContextRefreshedEvent (Spring Framework API 2.0) - Spring Framework 2.0.5 API 文档英文版

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 is 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 instance of the ContextRefreshedEvent class.
 
Method Summary
 ApplicationContext getApplicationContext()
          Gets 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 instance of the ContextRefreshedEvent class.

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

getApplicationContext

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

Returns:
the ApplicationContext that has been initialized or refreshed (never null)

The Spring Framework

Copyright © 2002-2007 The Spring Framework.