Package org.xwiki.container
Interface ApplicationContextListener
-
@Role @Deprecated(since="3.5M1") public interface ApplicationContextListener
Deprecated.use the notion of Environment insteadAllows interested components to perform startup / shutdown tasks and be notified when theApplicationContext
is created / being destroyed.- Since:
- 1.9M2
- Version:
- $Id: 8f0e4178114966071e72d5c8b4e7bfc1184a9dd8 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
destroyApplicationContext(ApplicationContext applicationContext)
Deprecated.Invoked just beforeApplicationContext
is destroyed.void
initializeApplicationContext(ApplicationContext applicationContext)
Deprecated.Invoked when theApplicationContext
is created.
-
-
-
Method Detail
-
initializeApplicationContext
void initializeApplicationContext(ApplicationContext applicationContext)
Deprecated.Invoked when theApplicationContext
is created.- Parameters:
applicationContext
- theApplicationContext
.
-
destroyApplicationContext
void destroyApplicationContext(ApplicationContext applicationContext)
Deprecated.Invoked just beforeApplicationContext
is destroyed.- Parameters:
applicationContext
- theApplicationContext
.
-
-