com.dyuproject.web.rest
Class ApplicationServletContextListener
java.lang.Object
com.dyuproject.web.rest.ApplicationServletContextListener
- All Implemented Interfaces:
- EventListener, ServletContextListener
public final class ApplicationServletContextListener
- extends Object
- implements ServletContextListener
Loads a json config file and uses that for Inversion of Control.
- Author:
- David Yu
- Date created:
- Feb 25, 2009
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONTEXT_PARAM_RESOURCE_LOCATION
public static final String CONTEXT_PARAM_RESOURCE_LOCATION
- See Also:
- Constant Field Values
DEFAULT_RESOURCE_LOCATION
public static final String DEFAULT_RESOURCE_LOCATION
- See Also:
- Constant Field Values
WEBCONTEXT_KEY
public static final String WEBCONTEXT_KEY
- See Also:
- Constant Field Values
ApplicationServletContextListener
public ApplicationServletContextListener()
getAppContext
public ApplicationContext getAppContext()
contextDestroyed
public void contextDestroyed(ServletContextEvent event)
- Specified by:
contextDestroyed
in interface ServletContextListener
contextInitialized
public void contextInitialized(ServletContextEvent event)
- Specified by:
contextInitialized
in interface ServletContextListener
Copyright © 2008-2013. All Rights Reserved.