Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » web » tomcat » tc5 » [javadoc | source]
org.jboss.web.tomcat.tc5
public class: Tomcat5 [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.tc5.Tomcat5

All Implemented Interfaces:
    Tomcat5MBean, AbstractWebContainerMBean, SubDeployerExtMBean, SubDeployerExt, org.jboss.kernel.spi.dependency.KernelControllerContextAware, ServiceMBean, MBeanRegistration, NotificationEmitter

An implementation of the AbstractWebContainer for the Jakarta Tomcat5 servlet container. It has no code dependency on tomcat - only the new JMX model is used. Tomcat5 is organized as a set of mbeans - just like jboss.
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 Tomcat5() 
Method from org.jboss.web.tomcat.tc5.Tomcat5 Summary:
getContextMBeanCode,   getDomain,   getName,   getUseJBossWebLoader,   performDeploy,   performUndeploy,   setContextMBeanCode,   setDomain,   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:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.web.tomcat.tc5.Tomcat5 Detail:
 public String getContextMBeanCode() 
 public String getDomain() 
 public String getName() 
 public boolean getUseJBossWebLoader() 
 protected  void performDeploy(WebApplication appInfo,
    String warUrl,
    AbstractWebContainer.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 setContextMBeanCode(String className) 
 public  void setDomain(String catalinaHome) 
    The most important atteribute - defines the managed domain. A catalina instance (engine) corresponds to a JMX domain, that's how we know where to deploy webapps.
 public  void setUseJBossWebLoader(boolean flag) 
 public  void startService() throws Exception 
 public  void stopService() throws Exception