Thread: [Ejtools-cvs] CVS: applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web Constant
Brought to you by:
letiemble
From: Laurent E. <let...@us...> - 2002-05-15 20:56:43
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web In directory usw-pr-cvs1:/tmp/cvs-serv10503/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web Modified Files: Constants.java JMXTree.java Log Message: Add some JavaDocs Index: Constants.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web/Constants.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Constants.java 24 Apr 2002 20:07:36 -0000 1.2 --- Constants.java 15 May 2002 20:56:40 -0000 1.3 *************** *** 1,24 **** package net.sourceforge.ejtools.jmxbrowser.web; /** ! * Description of the Class * ! * @author letiembl ! * @created 28 février 2002 */ public final class Constants { ! /** Description of the Field */ public final static String CONNECTOR = "tree"; ! /** Description of the Field */ ! public final static String TREE = "tree"; ! /** Description of the Field */ public final static String DETAIL = "detail"; ! /** Description of the Field */ public final static String DETAIL_INFO = "detail.info"; ! /** Description of the Field */ public final static String DOMAIN = "domain"; ! /** Description of the Field */ public final static String NUMBER = "number"; } --- 1,31 ---- + /* + * EJTools, the Enterprise Java Tools + * + * Distributable under LGPL license. + * See terms of license at www.gnu.org. + */ package net.sourceforge.ejtools.jmxbrowser.web; /** ! * Description of the Class * ! * @author letiemble ! * @created 28 février 2002 ! * @todo Javadoc to complete */ public final class Constants { ! /** Description of the Field */ public final static String CONNECTOR = "tree"; ! /** Description of the Field */ public final static String DETAIL = "detail"; ! /** Description of the Field */ public final static String DETAIL_INFO = "detail.info"; ! /** Description of the Field */ public final static String DOMAIN = "domain"; ! /** Description of the Field */ public final static String NUMBER = "number"; + /** Description of the Field */ + public final static String TREE = "tree"; } Index: JMXTree.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web/JMXTree.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** JMXTree.java 25 Apr 2002 20:24:07 -0000 1.3 --- JMXTree.java 15 May 2002 20:56:40 -0000 1.4 *************** *** 1,25 **** package net.sourceforge.ejtools.jmxbrowser.web; ! import java.beans.beancontext.*; ! import java.util.*; ! import net.sourceforge.ejtools.jmxbrowser.model.*; ! import net.sourceforge.ejtools.xml.*; ! import net.sourceforge.ejtools.xml.beans.*; /** ! * Description of the Class * ! * @author letiembl ! * @created 25 avril 2002 */ public class JMXTree extends BeanContextServicesSupport { ! /** Description of the Field */ ! protected Server server; ! /** Description of the Field */ protected ConnectionServiceProvider connectionProvider; ! /**Constructor for the JMXTree object */ public JMXTree() { --- 1,32 ---- + /* + * EJTools, the Enterprise Java Tools + * + * Distributable under LGPL license. + * See terms of license at www.gnu.org. + */ package net.sourceforge.ejtools.jmxbrowser.web; ! import java.beans.beancontext.BeanContextServicesSupport; ! import java.util.Collection; ! ! import net.sourceforge.ejtools.jmxbrowser.model.ConnectionServiceProvider; ! import net.sourceforge.ejtools.jmxbrowser.model.Server; /** ! * Description of the Class * ! * @author letiemble ! * @created 25 avril 2002 ! * @todo Javadoc to complete */ public class JMXTree extends BeanContextServicesSupport { ! /** Description of the Field */ protected ConnectionServiceProvider connectionProvider; + /** Description of the Field */ + protected Server server; ! /** Constructor for the JMXTree object */ public JMXTree() { *************** *** 31,35 **** add(connectionProvider); add(server); - } catch (Exception e) --- 38,41 ---- *************** *** 40,58 **** ! /** ! * Getter for the defaultDomain attribute ! * ! * @return The value of defaultDomain attribute ! */ ! public String getDefaultDomain() { ! return server.getDefaultDomain(); } /** ! * Getter for the count attribute * ! * @return The value of count attribute */ public int getCount() --- 46,60 ---- ! /** Description of the Method */ ! public void connect() { ! server.connect(); } /** ! * Getter for the count attribute * ! * @return The value of count attribute */ public int getCount() *************** *** 63,97 **** /** ! * Getter for the server attribute * ! * @return The value of server attribute */ ! public Collection getServer() { ! return server; } /** ! * Description of the Method * ! * @param objectName Description of Parameter ! * @return Description of the Returned Value */ ! public Object searchObjectName(String objectName) { ! return server.searchObjectName(objectName); } /** ! * Description of the Method * ! * @param filter Description of Parameter */ ! public void view(String filter) { ! server.setFilter(filter); ! server.connect(); } --- 65,98 ---- /** ! * Getter for the defaultDomain attribute * ! * @return The value of defaultDomain attribute */ ! public String getDefaultDomain() { ! return server.getDefaultDomain(); } /** ! * Getter for the server attribute * ! * @return The value of server attribute */ ! public Collection getServer() { ! return server; } /** ! * Description of the Method * ! * @param objectName Description of Parameter ! * @return Description of the Returned Value */ ! public Object searchObjectName(String objectName) { ! return server.searchObjectName(objectName); } |