org.mobicents.servlet.sip.startup.jboss
Class SipJBossContextConfig

java.lang.Object
  extended by org.apache.catalina.startup.ContextConfig
      extended by org.jboss.web.tomcat.security.config.JBossContextConfig
          extended by org.mobicents.servlet.sip.startup.jboss.SipJBossContextConfig
All Implemented Interfaces:
org.apache.catalina.LifecycleListener

public class SipJBossContextConfig
extends org.jboss.web.tomcat.security.config.JBossContextConfig
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 JbossContextConfig 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, ok, originalDocBase, parseException, sm, webDigester, webRuleSet, xmlNamespaceAware, xmlValidation
 
Constructor Summary
SipJBossContextConfig()
           
 
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.jboss.web.tomcat.security.config.JBossContextConfig
destroy
 
Methods inherited from class org.apache.catalina.startup.ContextConfig
antiLocking, applicationAnnotationsConfig, applicationWebConfig, authenticatorConfig, beforeStart, contextConfig, createContextDigester, createWebDigester, createWebXmlDigester, defaultWebConfig, 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

SipJBossContextConfig

public SipJBossContextConfig()
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 © 2008. All Rights Reserved.