Save This Page
Home » JBoss-5.1.0 » org » jboss » web » tomcat » tc4 » [javadoc | source]
org.jboss.web.tomcat.tc4
public class: EmbeddedTomcatService [javadoc | source]
java.lang.Object
   org.jboss.mx.util.JBossNotificationBroadcasterSupport
      org.jboss.system.ServiceMBeanSupport
         org.jboss.deployment.SubDeployerSupport
            org.jboss.web.AbstractWebContainer
               org.jboss.web.tomcat.tc4.EmbeddedTomcatService

All Implemented Interfaces:
    EmbeddedTomcatServiceMBean, AbstractWebContainerMBean, SubDeployerExtMBean, SubDeployerExt, KernelControllerContextAware, ServiceMBean, MBeanRegistration, NotificationEmitter

Direct Known Subclasses:
    EmbeddedCatalinaService41

An implementation of the AbstractWebContainer for the Jakarta Tomcat 4.1 servlet container. This uses the org.apache.catalina.startup.Embedded as the integration class. It does not parse the catalina server.xml in the catalina distribution. Rather, it parses a subset of the server.xml syntax and obtains this configuration information from the Config attribute.
Field Summary
public static final  String NAME     
Fields inherited from org.jboss.web.AbstractWebContainer:
deploymentMap,  java2ClassLoadingCompliance,  unpackWars,  lenientEjbLink
Fields inherited from org.jboss.deployment.SubDeployerSupport:
nativeSuffix,  nativePrefix,  mainDeployer,  tempDeployDir,  enhancedSuffixes,  suffixes,  relativeOrder,  CONFIGURATION
Fields inherited from org.jboss.system.ServiceMBeanSupport:
SERVICE_CONTROLLER_SIG,  log,  server,  serviceName
Constructor:
 public EmbeddedTomcatService() 
Method from org.jboss.web.tomcat.tc4.EmbeddedTomcatService Summary:
getActiveThreadCount,   getCatalinaBase,   getCatalinaHome,   getConfig,   getDeleteWorkDirs,   getMaxActiveThreadCount,   getName,   getSnapshotInterval,   getSnapshotMode,   getStats,   getSubjectAttributeName,   getUseJBossWebLoader,   performDeploy,   performUndeploy,   resetStats,   setCatalinaBase,   setCatalinaHome,   setConfig,   setDeleteWorkDirs,   setSnapshotInterval,   setSnapshotMode,   setSubjectAttributeName,   setUseJBossWebLoader,   startService,   stopService
Methods from org.jboss.web.AbstractWebContainer:
accepts,   addEnvEntries,   getClassLoaderURLs,   getCompileClasspath,   getConfig,   getDeployedApp,   getDeployedApplications,   getJava2ClassLoadingCompliance,   getLenientEjbLink,   getStandardCompileClasspath,   getUnpackWars,   init,   isDeployed,   linkEjbLocalRefs,   linkEjbRefs,   linkResourceEnvRefs,   linkResourceRefs,   linkSecurityDomain,   parseMetaData,   parseWebAppDescriptors,   performDeploy,   performUndeploy,   processNestedDeployments,   setConfig,   setJava2ClassLoadingCompliance,   setLenientEjbLink,   setUnpackWars,   start,   stop
Methods from org.jboss.deployment.SubDeployerSupport:
accepts,   addDeployableFiles,   addDeployableJar,   create,   createService,   deployUrl,   destroy,   destroyService,   emitNotification,   getEnhancedSuffixes,   getRelativeOrder,   getSuffixes,   init,   isDeployable,   processNestedDeployments,   setEnhancedSuffixes,   setRelativeOrder,   setSuffixes,   start,   startService,   stop,   stopService
Methods from org.jboss.system.ServiceMBeanSupport:
create,   createService,   destroy,   destroyService,   getDeploymentInfo,   getLog,   getName,   getNextNotificationSequenceNumber,   getObjectName,   getServer,   getServiceName,   getState,   getStateString,   jbossInternalCreate,   jbossInternalDescription,   jbossInternalDestroy,   jbossInternalLifecycle,   jbossInternalStart,   jbossInternalStop,   pojoChange,   pojoCreate,   pojoDestroy,   pojoStart,   pojoStop,   postDeregister,   postRegister,   preDeregister,   preRegister,   setKernelControllerContext,   start,   startService,   stop,   stopService,   unsetKernelControllerContext
Methods from org.jboss.mx.util.JBossNotificationBroadcasterSupport:
addNotificationListener,   getNotificationInfo,   handleNotification,   nextNotificationSequenceNumber,   removeNotificationListener,   removeNotificationListener,   sendNotification
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.web.tomcat.tc4.EmbeddedTomcatService Detail:
 public int getActiveThreadCount() 
    Get the active thread count
 public String getCatalinaBase() 
 public String getCatalinaHome() 
 public Element getConfig() 
 public boolean getDeleteWorkDirs() 
    Get the delete work dirs on undeployment flag.
 public int getMaxActiveThreadCount() 
    Get the maximal active thread count
 public String getName() 
 public int getSnapshotInterval() 
    Get the snapshot interval
 public String getSnapshotMode() 
    Get the snapshot mode
 public InvocationStatistics getStats() 
 public String getSubjectAttributeName() 
 public boolean getUseJBossWebLoader() 
 protected  void performDeploy(WebApplication appInfo,
    String warUrl,
    WebDescriptorParser webAppParser) throws Exception 
    Perform the tomcat specific deployment steps.
 public  void performUndeploy(String warUrl) throws Exception 
    Perform the tomcat specific deployment steps.
 public  void resetStats() 
 public  void setCatalinaBase(String catalinaBase) 
 public  void setCatalinaHome(String catalinaHome) 
 public  void setConfig(Element config) 
    This method is invoked to import an arbitrary XML configuration tree. Subclasses should override this method if they support such a configuration capability. This implementation does nothing.
 public  void setDeleteWorkDirs(boolean flag) 
    Set the delete work dirs on undeployment flag. By default catalina does not delete its working directories when a context is stopped and this can cause jsp pages in redeployments to not be recompiled if the timestap of the file in the war has not been updated. This defaults to true.
 public  void setSnapshotInterval(int interval) 
    Set the snapshot interval in milliseconds for snapshot mode = interval
 public  void setSnapshotMode(String mode) 
    Set the snapshot mode. Currently supported: instant or interval
 public  void setSubjectAttributeName(String name) 
 public  void setUseJBossWebLoader(boolean flag) 
 public  void startService() throws Exception 
 public  void stopService() throws Exception