You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2003/04/08 21:29:47 UTC

cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core mbeans-descriptors.xml StandardContext.java

remm        2003/04/08 12:29:47

  Modified:    catalina/src/share/org/apache/catalina/core
                        mbeans-descriptors.xml StandardContext.java
  Log:
  - Allow setting the compiler classpath directly.
  
  Revision  Changes    Path
  1.7       +8 -0      jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/mbeans-descriptors.xml
  
  Index: mbeans-descriptors.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/mbeans-descriptors.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- mbeans-descriptors.xml	27 Mar 2003 06:49:20 -0000	1.6
  +++ mbeans-descriptors.xml	8 Apr 2003 19:29:47 -0000	1.7
  @@ -111,6 +111,10 @@
                  description="Access to tomcat internals"
                  type="boolean"/>
         
  +    <attribute name="compilerClasspath"
  +               description="The compiler classpath to use"
  +               type="java.lang.String"/>
  +      
       <attribute name="debug"
                  description="The debugging detail level for this component"
                  type="int"/>
  @@ -128,6 +132,10 @@
                  description="MBean Names of the set of defined environment entries for this web application"
                  type="[Ljava.lang.String;"
                  writeable="false"/>
  +      
  +    <attribute name="parentClassLoader"
  +               description="Parent class loader."
  +               type="java.lang.ClassLoader" />
         
       <attribute name="managedResource"
                  description="The managed resource this MBean is associated with"
  
  
  
  1.35      +29 -3     jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardContext.java
  
  Index: StandardContext.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardContext.java,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- StandardContext.java	8 Apr 2003 19:12:45 -0000	1.34
  +++ StandardContext.java	8 Apr 2003 19:29:47 -0000	1.35
  @@ -136,7 +136,7 @@
   public class StandardContext
       extends ContainerBase
       implements Context, Serializable
  - {
  +{
       private Log log = LogFactory.getLog(StandardContext.class);
   
   
  @@ -230,6 +230,12 @@
   
   
       /**
  +     * Compiler classpath to use.
  +     */
  +    private String compilerClasspath = null;
  +
  +
  +    /**
        * Should we attempt to use cookies for session id communication?
        */
       private boolean cookies = true;
  @@ -247,11 +253,14 @@
        */
       private String displayName = null;
   
  -    /** Override the default web xml location. ContextConfig is not configurable
  +
  +    /** 
  +     * Override the default web xml location. ContextConfig is not configurable
        * so the setter is not used.
        */
       private String defaultWebXml;
   
  +
       /**
        * The distributable flag for this web application.
        */
  @@ -816,6 +825,23 @@
               context.setAttribute(Globals.ALT_DD_ATTR,altDDName);
           }
       }
  +
  +
  +    /**
  +     * Return the compiler classpath.
  +     */
  +    public String getCompilerClasspath(){
  +        return compilerClasspath;
  +    }
  +
  +
  +    /**
  +     * Set the compiler classpath.
  +     */
  +    public void setCompilerClasspath(String compilerClasspath) {
  +        this.compilerClasspath = compilerClasspath;
  +    }
  +
   
       /**
        * Set the display name of this web application.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org