|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Central interface to provide configuration for an application. This is read-only while the application is running, but may be reloaded if the implementation supports this.
An ApplicationContext provides:
In addition to standard bean factory lifecycle capabilities, ApplicationContext implementations need to detect ApplicationContextAware beans and invoke the setApplicationContext method accordingly.
ApplicationContextAware.setApplicationContext(org.springframework.context.ApplicationContext)
Field Summary |
Fields inherited from interface org.springframework.core.io.ResourceLoader |
CLASSPATH_URL_PREFIX |
Method Summary | |
java.lang.String |
getDisplayName()
Return a friendly name for this context. |
ApplicationContext |
getParent()
Return the parent context, or null if there is no parent, and this is the root of the context hierarchy. |
long |
getStartupDate()
Return the timestamp when this context was first loaded. |
void |
publishEvent(ApplicationEvent event)
Notify all listeners registered with this application of an application event. |
Methods inherited from interface org.springframework.beans.factory.ListableBeanFactory |
containsBeanDefinition, getBeanDefinitionCount, getBeanDefinitionNames, getBeanDefinitionNames, getBeansOfType |
Methods inherited from interface org.springframework.beans.factory.BeanFactory |
containsBean, getAliases, getBean, getBean, isSingleton |
Methods inherited from interface org.springframework.beans.factory.HierarchicalBeanFactory |
getParentBeanFactory |
Methods inherited from interface org.springframework.context.MessageSource |
getMessage, getMessage, getMessage |
Methods inherited from interface org.springframework.core.io.ResourceLoader |
getResource |
Method Detail |
public ApplicationContext getParent()
public java.lang.String getDisplayName()
public long getStartupDate()
public void publishEvent(ApplicationEvent event)
event
- event to publishRequestHandledEvent
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |