org.mobicents.servlet.sip.startup
Class SipContextConfig

java.lang.Object
  extended by org.apache.catalina.startup.ContextConfig
      extended by org.mobicents.servlet.sip.startup.SipContextConfig
All Implemented Interfaces:
org.apache.catalina.LifecycleListener

public class SipContextConfig
extends org.apache.catalina.startup.ContextConfig

Startup event listener for a the SipStandardContext that configures the properties of that Context, and the associated defined servlets. it extends the regular tomcat context config to be able to load sip servlet applications.

Author:
Jean Deruelle

Field Summary
 
Fields inherited from class org.apache.catalina.startup.ContextConfig
authenticators, context, contextDigester, customAuthenticators, defaultContextXml, defaultWebXml, deploymentCount, DUMMY_LOGIN_CONFIG, initializerClassMap, ok, originalDocBase, sm, typeInitializerMap, webDigester, webDigesters, webFragmentDigester, webFragmentDigesters, webFragmentRuleSet, webRuleSet
 
Constructor Summary
SipContextConfig()
           
 
Method Summary
protected  void configureStart()
           
protected  void configureStop()
           
protected  void fixDocBase()
          Adjust docBase.
 void lifecycleEvent(org.apache.catalina.LifecycleEvent event)
          
 
Methods inherited from class org.apache.catalina.startup.ContextConfig
antiLocking, applicationAnnotationsConfig, authenticatorConfig, beforeStart, checkHandlesTypes, contextConfig, createContextDigester, createWebXml, createWebXmlDigester, destroy, getBaseDir, getConfigBase, getContextWebXmlSource, getDefaultContextXml, getDefaultWebXml, getGlobalWebXmlSource, getHostConfigPath, getHostWebXmlSource, getServletContainerInitializer, getWebXmlSource, init, parseWebXml, processAnnotations, processAnnotationsFile, processAnnotationsJar, processAnnotationsJndi, processAnnotationsStream, processAnnotationsStringArray, processAnnotationsUrl, processAnnotationWebFilter, processAnnotationWebInitParams, processAnnotationWebServlet, processContextConfig, processJarsForWebFragments, processResourceJARs, processServletContainerInitializers, setCustomAuthenticators, setDefaultContextXml, setDefaultWebXml, validateSecurityRoles, webConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SipContextConfig

public SipContextConfig()
Method Detail

lifecycleEvent

public void lifecycleEvent(org.apache.catalina.LifecycleEvent event)

Specified by:
lifecycleEvent in interface org.apache.catalina.LifecycleListener
Overrides:
lifecycleEvent in class org.apache.catalina.startup.ContextConfig

configureStart

protected void configureStart()
Overrides:
configureStart in class org.apache.catalina.startup.ContextConfig

configureStop

protected void configureStop()
Overrides:
configureStop in class org.apache.catalina.startup.ContextConfig

fixDocBase

protected void fixDocBase()
                   throws java.io.IOException
Adjust docBase.

Overrides:
fixDocBase in class org.apache.catalina.startup.ContextConfig
Throws:
java.io.IOException


Copyright © 2010. All Rights Reserved.