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
implements org.apache.catalina.LifecycleListener

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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.catalina.startup.ContextConfig
org.apache.catalina.startup.ContextConfig.ContextErrorHandler
 
Field Summary
 
Fields inherited from class org.apache.catalina.startup.ContextConfig
authenticators, context, contextDigester, customAuthenticators, defaultContextXml, defaultWebXml, deploymentCount, DUMMY_LOGIN_CONFIG, log, ok, originalDocBase, parseException, sm, webDigester, webRuleSet, xmlNamespaceAware, xmlValidation
 
Constructor Summary
SipContextConfig()
           
 
Method Summary
protected  void fixDocBase()
          Adjust docBase.
 void lifecycleEvent(org.apache.catalina.LifecycleEvent event)
          
protected  void start()
           
protected  void stop()
           
 
Methods inherited from class org.apache.catalina.startup.ContextConfig
antiLocking, applicationAnnotationsConfig, applicationWebConfig, authenticatorConfig, beforeStart, contextConfig, createContextDigester, createWebDigester, createWebXmlDigester, defaultWebConfig, destroy, getBaseDir, getConfigBase, getDefaultContextXml, getDefaultWebXml, getHostConfigPath, init, processContextConfig, processDefaultWebConfig, setCustomAuthenticators, setDefaultContextXml, setDefaultWebXml, validateSecurityRoles
 
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

start

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

stop

protected void stop()
Overrides:
stop 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 © 2009. All Rights Reserved.