manveen 02/05/04 09:10:34 Modified: catalina/src/share/org/apache/catalina/mbeans NamingResourcesMBean.java Log: Env name and type are sufficient to form the key for the env entry. Revision Changes Path 1.3 +5 -6 jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans/NamingResourcesMBean.java Index: NamingResourcesMBean.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans/NamingResourcesMBean.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- NamingResourcesMBean.java 4 May 2002 15:48:54 -0000 1.2 +++ NamingResourcesMBean.java 4 May 2002 16:10:34 -0000 1.3 @@ -1,7 +1,7 @@ /* - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans/NamingResourcesMBean.java,v 1.2 2002/05/04 15:48:54 manveen Exp $ - * $Revision: 1.2 $ - * $Date: 2002/05/04 15:48:54 $ + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeans/NamingResourcesMBean.java,v 1.3 2002/05/04 16:10:34 manveen Exp $ + * $Revision: 1.3 $ + * $Date: 2002/05/04 16:10:34 $ * * ==================================================================== * @@ -83,7 +83,7 @@ * <code>org.apache.catalina.deploy.NamingResources</code> component.</p> * * @author Amy Roh - * @version $Revision: 1.2 $ $Date: 2002/05/04 15:48:54 $ + * @version $Revision: 1.3 $ $Date: 2002/05/04 16:10:34 $ */ public class NamingResourcesMBean extends BaseModelMBean { @@ -181,7 +181,7 @@ * * @param envName New environment entry name */ - public void addEnvironment(String envName, String type, String value) { + public void addEnvironment(String envName, String type) { NamingResources nresources = (NamingResources) this.resource; if (nresources == null) { @@ -195,7 +195,6 @@ env = new ContextEnvironment(); env.setName(envName); env.setType(type); - env.setValue(value); nresources.addEnvironment(env); // FIXME add to the javax.naming.directory.DirContext }
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>