org.norther.tammi.spray.servlet
Class DefaultStartupContext
java.lang.Object
org.norther.tammi.core.base.Adaptee
org.norther.tammi.spray.servlet.DefaultStartupContext
- All Implemented Interfaces:
- Serializable, EventListener, NotificationBroadcaster, NotificationEmitter, ServletContextListener, Manageable, MBeanDelegate, StartupContext
public class DefaultStartupContext
- extends Adaptee
- implements StartupContext, ServletContextListener, Serializable
The startup context listener implementation.
- Author:
- Ilkka Priha
- See Also:
- Serialized Form
| Fields inherited from interface org.norther.tammi.spray.servlet.StartupContext |
BINARY_PROPERTY, CONFIG_PROPERTY, CONTEXT_PROPERTY_PREFIX, DATA_PROPERTY, DEFAULT_ROOT, DOMAIN_PROPERTY, LOCAL_ID, LOGS_PROPERTY, OBJECT_NAME_PROPERTY, PLUGINS_PROPERTY, ROOT_PROPERTY, SERVER_ID_PROPERTY, SERVER_PROPERTY, START_PROPERTY, TEMP_PROPERTY |
| Methods inherited from class org.norther.tammi.core.base.Adaptee |
addAdaptee, addNotificationListener, getAttributeSupport, getBroker, getCanonicalName, getDomain, getFactory, getLoader, getLog, getLog, getMBean, getMBeanServer, getNotificationInfo, getObjectName, getRegistrationTime, getSequenceNumber, hasListeners, isRegistered, postmanaged, premanaged, removeNotificationListener, removeNotificationListener, sendNotification, sendNotification, sendNotification, sendNotification, unmanaged, unregister |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultStartupContext
public DefaultStartupContext()
- Constructs a new listener.
getServletContextName
public String getServletContextName()
- Description copied from interface:
StartupContext
- Gets the name of this servlet context.
- Specified by:
getServletContextName in interface StartupContext
- Returns:
- the context name.
getServletContextRoot
public File getServletContextRoot()
- Description copied from interface:
StartupContext
- Gets the root of this servlet context.
- Specified by:
getServletContextRoot in interface StartupContext
- Returns:
- the root file.
getServletContext
public ServletContext getServletContext()
- Description copied from interface:
StartupContext
- Gets the servlet context.
- Specified by:
getServletContext in interface StartupContext
- Returns:
- the servlet context.
contextInitialized
public void contextInitialized(ServletContextEvent sce)
- Specified by:
contextInitialized in interface ServletContextListener
contextDestroyed
public void contextDestroyed(ServletContextEvent sce)
- Specified by:
contextDestroyed in interface ServletContextListener
Copyright © 2004 The Norther Organization. All rights reserved.