amyroh 2002/09/09 12:57:05 Modified: catalina/src/share/org/apache/catalina/mbeans MBeanFactory.java mbeans-descriptors.xml Log: Add additonal Host attributes to be set in admin webapp. Revision Changes Path 1.35 +13 -5 jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans/MBeanFactory.java Index: MBeanFactory.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans/MBeanFactory.java,v retrieving revision 1.34 retrieving revision 1.35 diff -u -r1.34 -r1.35 --- MBeanFactory.java 21 May 2002 20:10:53 -0000 1.34 +++ MBeanFactory.java 9 Sep 2002 19:57:05 -0000 1.35 @@ -877,18 +877,26 @@ * @param parent MBean Name of the associated parent component * @param name Unique name of this Host * @param appBase Application base directory name + * @param autoDeploy Should we auto deploy? + * @param deployXML Should we deploy Context XML config files property? + * @param liveDeploy Should we live deploy? * @param unpackWARs Should we unpack WARs when auto deploying? * * @exception Exception if an MBean cannot be created or registered */ public String createStandardHost(String parent, String name, - String appBase, boolean unpackWARs) + String appBase, boolean autoDeploy, + boolean deployXML, boolean liveDeploy, + boolean unpackWARs) throws Exception { // Create a new StandardHost instance StandardHost host = new StandardHost(); host.setName(name); host.setAppBase(appBase); + host.setAutoDeploy(autoDeploy); + host.setDeployXML(deployXML); + host.setLiveDeploy(liveDeploy); host.setUnpackWARs(unpackWARs); // Add the new instance to its parent component 1.69 +14 -1 jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans/mbeans-descriptors.xml Index: mbeans-descriptors.xml =================================================================== RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans/mbeans-descriptors.xml,v retrieving revision 1.68 retrieving revision 1.69 diff -u -r1.68 -r1.69 --- mbeans-descriptors.xml 5 Sep 2002 01:57:19 -0000 1.68 +++ mbeans-descriptors.xml 9 Sep 2002 19:57:05 -0000 1.69 @@ -2069,9 +2069,22 @@ description="The application root for this Host" type="java.lang.String"/> + <attribute name="autoDeploy" + description="The auto deploy flag for this Host" + type="boolean"/> + <attribute name="debug" description="The debugging detail level for this component" type="int"/> + + <attribute name="deployXML" + description="deploy Context XML config files property" + is="true" + type="boolean"/> + + <attribute name="liveDeploy" + description="The live deploy flag for this Host" + type="boolean"/> <attribute name="managedResource" description="The managed resource this MBean is associated with"
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>