|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.acsinet_solutions.cetia4.controller.support.ServiceInitializerBase
public abstract class ServiceInitializerBase
Basic class for service initializers. Performs classloader operations and contains common loading logic.
| Constructor Summary | |
|---|---|
protected |
ServiceInitializerBase()
Constructor for no service locator creation. |
protected |
ServiceInitializerBase(java.lang.Class serviceLocatorClass)
Protected constructor that receives the necessary parameters to perform the Spring initialization. |
protected |
ServiceInitializerBase(java.lang.Class serviceLocatorClass,
java.lang.String configurationFile)
Protected constructor that receives the necessary parameters to perform the Spring initialization. |
| Method Summary | |
|---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent event)
|
void |
contextInitialized(javax.servlet.ServletContextEvent event)
This method loads the service locator. |
protected void |
loadCatalogs(javax.servlet.ServletContext context,
ServiceLocator locator)
This hook method may be used by subclasses to perform resource initialization. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected ServiceInitializerBase(java.lang.Class serviceLocatorClass,
java.lang.String configurationFile)
protected ServiceInitializerBase(java.lang.Class serviceLocatorClass)
protected ServiceInitializerBase()
| Method Detail |
|---|
public final void contextInitialized(javax.servlet.ServletContextEvent event)
The locale and bundle parameters are initialized in this method and also the _BUNDLE_KEY entry. Currently no way to avoid that behavior is provided, but may be implemented if necessary for future versions.
The service locator is loaded, if configured.
Catalogs are loaded using introspection or using the overridable loadCatalogs() method.
contextInitialized in interface javax.servlet.ServletContextListenerpublic void contextDestroyed(javax.servlet.ServletContextEvent event)
contextDestroyed in interface javax.servlet.ServletContextListener
protected void loadCatalogs(javax.servlet.ServletContext context,
ServiceLocator locator)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||