[Ejtools-cvs] CVS: applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web JMXConta
Brought to you by:
letiemble
From: Laurent E. <let...@us...> - 2002-05-17 20:41:34
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web In directory usw-pr-cvs1:/tmp/cvs-serv8722/jmx.browser/src/main/net/sourceforge/ejtools/jmxbrowser/web Added Files: JMXContainer.java Removed Files: JMXTree.java Log Message: Add icons --- NEW FILE: JMXContainer.java --- /* * 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 JMXContainer extends BeanContextServicesSupport { /** Description of the Field */ protected ConnectionServiceProvider connectionProvider; /** Description of the Field */ protected Server server; /** Constructor for the JMXTree object */ public JMXContainer() { try { connectionProvider = new ConnectionServiceProvider("LOCAL"); server = new Server(); add(connectionProvider); add(server); } catch (Exception e) { e.printStackTrace(); } } /** Description of the Method */ public void connect() { server.connect(); } /** * Getter for the count attribute * * @return The value of count attribute */ public int getCount() { return server.getCount(); } /** * 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); } } --- JMXTree.java DELETED --- |