ejtools-cvs Mailing List for EJTools (Page 8)
Brought to you by:
letiemble
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
(471) |
May
(303) |
Jun
(176) |
Jul
(67) |
Aug
(64) |
Sep
(84) |
Oct
(148) |
Nov
(57) |
Dec
(272) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(356) |
Feb
(304) |
Mar
(214) |
Apr
(22) |
May
(7) |
Jun
(25) |
Jul
|
Aug
(5) |
Sep
(106) |
Oct
|
Nov
(95) |
Dec
(193) |
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2016 |
Jan
(2) |
Feb
(1) |
Mar
(2) |
Apr
(1) |
May
|
Jun
|
Jul
(2) |
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
From: <let...@us...> - 2003-12-14 08:38:24
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/test In directory sc8-pr-cvs1:/tmp/cvs-serv10842/jmx.browser/src/test Log Message: Directory /cvsroot/ejtools/applications/jmx.browser/src/test added to the repository |
From: <let...@us...> - 2003-12-14 08:38:24
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/test/test/org In directory sc8-pr-cvs1:/tmp/cvs-serv11335/jmx.browser/src/test/test/org Log Message: Directory /cvsroot/ejtools/applications/jmx.browser/src/test/test/org added to the repository |
From: <let...@us...> - 2003-12-14 08:38:24
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/test/test In directory sc8-pr-cvs1:/tmp/cvs-serv11311/jmx.browser/src/test/test Log Message: Directory /cvsroot/ejtools/applications/jmx.browser/src/test/test added to the repository |
From: <let...@us...> - 2003-12-14 08:38:23
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/test/test/org/ejtools In directory sc8-pr-cvs1:/tmp/cvs-serv11365/jmx.browser/src/test/test/org/ejtools Log Message: Directory /cvsroot/ejtools/applications/jmx.browser/src/test/test/org/ejtools added to the repository |
From: <let...@us...> - 2003-12-14 08:38:23
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/test/test/jmx/browser/mx4j In directory sc8-pr-cvs1:/tmp/cvs-serv11581/jmx.browser/src/test/test/jmx/browser/mx4j Log Message: Directory /cvsroot/ejtools/applications/jmx.browser/src/test/test/jmx/browser/mx4j added to the repository |
From: <let...@us...> - 2003-12-14 08:38:23
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/test/test/jmx In directory sc8-pr-cvs1:/tmp/cvs-serv11479/jmx.browser/src/test/test/jmx Log Message: Directory /cvsroot/ejtools/applications/jmx.browser/src/test/test/jmx added to the repository |
From: <let...@us...> - 2003-12-14 08:38:23
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/test/test/jmx/browser In directory sc8-pr-cvs1:/tmp/cvs-serv11548/jmx.browser/src/test/test/jmx/browser Log Message: Directory /cvsroot/ejtools/applications/jmx.browser/src/test/test/jmx/browser added to the repository |
From: <let...@us...> - 2003-12-14 08:38:23
|
Update of /cvsroot/ejtools/applications/jmx.browser In directory sc8-pr-cvs1:/tmp/cvs-serv11709/jmx.browser Modified Files: .classpath project.properties project.xml Log Message: Add more javadocs. Adjust some things. Index: .classpath =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/.classpath,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** .classpath 27 Nov 2003 01:13:05 -0000 1.1 --- .classpath 13 Dec 2003 22:15:06 -0000 1.2 *************** *** 21,27 **** <classpathentry kind="var" path="MAVEN_REPO/struts/jars/struts-1.0.2.jar"/> <classpathentry kind="var" path="MAVEN_REPO/sun/jars/j2ee-1.3.1.jar"/> ! <classpathentry kind="lib" path="F:/EJTools/thirdparty/mx4j/jars/mx4j-HEAD-1.2.jar"/> ! <classpathentry kind="lib" path="F:/EJTools/thirdparty/mx4j/jars/mx4j-HEAD-remote-1.2.jar"/> ! <classpathentry kind="lib" path="F:/EJTools/thirdparty/mx4j/jars/mx4j-HEAD-tools-1.2.jar"/> <classpathentry kind="output" path="bin"/> </classpath> --- 21,27 ---- <classpathentry kind="var" path="MAVEN_REPO/struts/jars/struts-1.0.2.jar"/> <classpathentry kind="var" path="MAVEN_REPO/sun/jars/j2ee-1.3.1.jar"/> ! <classpathentry kind="lib" path="/ejtools-thirdparty/mx4j/jars/mx4j-HEAD-1.2.jar"/> ! <classpathentry kind="lib" path="/ejtools-thirdparty/mx4j/jars/mx4j-HEAD-remote-1.2.jar"/> ! <classpathentry kind="lib" path="/ejtools-thirdparty/mx4j/jars/mx4j-HEAD-tools-1.2.jar"/> <classpathentry kind="output" path="bin"/> </classpath> Index: project.properties =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/project.properties,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** project.properties 10 Mar 2003 22:13:10 -0000 1.3 --- project.properties 13 Dec 2003 22:15:06 -0000 1.4 *************** *** 51,55 **** maven.ejtools.app.launch.class=org.ejtools.jmx.browser.Main maven.ejtools.app.launch.includes=org/ejtools/jmx/browser/Main*.* ! maven.ejtools.app.launch.classpath=../conf/ ../lib/log4j-1.2.7.jar maven.ejtools.mbean.includes=org/ejtools/jmx/browser/mbean/*.* --- 51,55 ---- maven.ejtools.app.launch.class=org.ejtools.jmx.browser.Main maven.ejtools.app.launch.includes=org/ejtools/jmx/browser/Main*.* ! maven.ejtools.app.launch.classpath=../conf/ ../lib/log4j-1.2.8.jar maven.ejtools.mbean.includes=org/ejtools/jmx/browser/mbean/*.* Index: project.xml =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/project.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** project.xml 27 Nov 2003 01:13:05 -0000 1.4 --- project.xml 13 Dec 2003 22:15:06 -0000 1.5 *************** *** 15,18 **** --- 15,19 ---- <groupId>ejtools</groupId> <name>JMX Browser</name> + <description>A tool which allows to view and interact with the JMX space in a J2EE Server.</description> <currentVersion>1.2.0</currentVersion> <package>org/ejtools/jmx/browser</package> *************** *** 21,25 **** <dependency> <id>log4j</id> ! <version>1.2.7</version> <properties> <app.bundle.jar>true</app.bundle.jar> --- 22,26 ---- <dependency> <id>log4j</id> ! <version>1.2.8</version> <properties> <app.bundle.jar>true</app.bundle.jar> *************** *** 27,31 **** </properties> </dependency> ! <!-- <dependency> <id>mx4j</id> --- 28,32 ---- </properties> </dependency> ! <!-- Not needed as we use the HEAD version <dependency> <id>mx4j</id> *************** *** 33,37 **** <version>1.1.1</version> </dependency> ! --> <dependency> <id>mx4j</id> --- 34,38 ---- <version>1.1.1</version> </dependency> ! --> <dependency> <id>mx4j</id> *************** *** 161,177 **** </dependency> </dependencies> - <build> - <!-- Resources --> - <resources> - <!-- General resources --> - <resource> - <directory>${basedir}/src/resources</directory> - </resource> - <!-- XDoclet Resources --> - <resource> - <directory>${basedir}/target/xdoclet/xdoclet</directory> - <includes>*.properties</includes> - </resource> - </resources> - </build> </project> --- 162,164 ---- |
From: <let...@us...> - 2003-12-14 08:38:22
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/main/org/ejtools/jmx/browser In directory sc8-pr-cvs1:/tmp/cvs-serv11709/jmx.browser/src/main/org/ejtools/jmx/browser Modified Files: AboutDialog.java Browser.java Main.java Log Message: Add more javadocs. Adjust some things. Index: AboutDialog.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/org/ejtools/jmx/browser/AboutDialog.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** AboutDialog.java 27 Nov 2003 01:13:06 -0000 1.3 --- AboutDialog.java 13 Dec 2003 22:15:06 -0000 1.4 *************** *** 1,111 **** ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package org.ejtools.jmx.browser; ! ! import java.awt.BorderLayout; ! import java.awt.Color; ! import java.awt.Container; ! import java.awt.GridLayout; ! import java.util.ResourceBundle; ! ! import javax.swing.ImageIcon; ! import javax.swing.JLabel; ! import javax.swing.JPanel; ! import javax.swing.SwingConstants; ! import javax.swing.UIManager; ! ! import org.ejtools.adwt.service.AboutService; ! ! /** ! * Description of the Class ! * ! * @author Laurent Etiemble ! * @created 2 novembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete ! */ ! public final class AboutDialog implements AboutService ! { ! /** Description of the Field */ ! private JPanel panel = null; ! /** Description of the Field */ ! private static ResourceBundle resources = ResourceBundle.getBundle("org.ejtools.jmx.browser.Resources"); ! ! ! /** Constructor for the AboutServiceProvider object */ ! public AboutDialog() ! { ! super(); ! } ! ! ! /** ! * Gets the panel attribute of the AboutDialog object ! * ! * @return The panel value ! */ ! public Container getPanel() ! { ! if (this.panel == null) ! { ! this.createPanel(); ! } ! ! return this.panel; ! } ! ! ! /** ! * Description of the Method ! * ! * @return The title value ! */ ! public String getTitle() ! { ! return resources.getString("about.dialog.title"); ! } ! ! ! /** Creation of the panel to show */ ! protected void createPanel() ! { ! this.panel = new JPanel(new BorderLayout()); ! ! // North part of the panel ! this.panel.add("North", new JLabel(new ImageIcon(getClass().getResource("/images/logo.png")))); ! ! // Center part of the panel ! this.panel.add("Center", new JLabel(" ")); ! ! // South part of the panel ! JPanel info = new JPanel(new GridLayout(3, 1)); ! ! JLabel java = new JLabel( ! resources.getString("about.dialog.text.javaVersion") ! + " : " ! + System.getProperty("java.version"), SwingConstants.LEADING); ! java.setForeground(Color.black); ! info.add(java); ! ! JLabel vm = new JLabel( ! resources.getString("about.dialog.text.virtualMachine") ! + " : " ! + System.getProperty("java.vm.name") ! + ", " ! + System.getProperty("java.vm.version"), SwingConstants.LEADING); ! vm.setForeground(Color.black); ! info.add(vm); ! ! JLabel laf = new JLabel( ! resources.getString("about.dialog.text.lookAndFeel") ! + " : " ! + UIManager.getLookAndFeel().getName(), SwingConstants.LEADING); ! vm.setForeground(Color.black); ! info.add(laf); ! this.panel.add("South", info); ! } ! } --- 1,111 ---- ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package org.ejtools.jmx.browser; ! ! import java.awt.BorderLayout; ! import java.awt.Color; ! import java.awt.Container; ! import java.awt.GridLayout; ! import java.util.ResourceBundle; ! ! import javax.swing.ImageIcon; ! import javax.swing.JLabel; ! import javax.swing.JPanel; ! import javax.swing.SwingConstants; ! import javax.swing.UIManager; ! ! import org.ejtools.adwt.service.AboutService; ! ! /** ! * Description of the Class ! * ! * @author Laurent Etiemble ! * @created 2 novembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete ! */ ! public final class AboutDialog implements AboutService ! { ! /** Description of the Field */ ! private JPanel panel = null; ! /** Description of the Field */ ! private static ResourceBundle resources = ResourceBundle.getBundle("org.ejtools.jmx.browser.Resources"); ! ! ! /** Constructor for the AboutServiceProvider object */ ! public AboutDialog() ! { ! super(); ! } ! ! ! /** ! * Gets the panel attribute of the AboutDialog object ! * ! * @return The panel value ! */ ! public Container getPanel() ! { ! if (this.panel == null) ! { ! this.createPanel(); ! } ! ! return this.panel; ! } ! ! ! /** ! * Description of the Method ! * ! * @return The title value ! */ ! public String getTitle() ! { ! return resources.getString("about.dialog.title"); ! } ! ! ! /** Creation of the panel to show */ ! protected void createPanel() ! { ! this.panel = new JPanel(new BorderLayout()); ! ! // North part of the panel ! this.panel.add("North", new JLabel(new ImageIcon(getClass().getResource("/images/logo.png")))); ! ! // Center part of the panel ! this.panel.add("Center", new JLabel(" ")); ! ! // South part of the panel ! JPanel info = new JPanel(new GridLayout(3, 1)); ! ! JLabel java = new JLabel( ! resources.getString("about.dialog.text.javaVersion") ! + " : " ! + System.getProperty("java.version"), SwingConstants.LEADING); ! java.setForeground(Color.black); ! info.add(java); ! ! JLabel vm = new JLabel( ! resources.getString("about.dialog.text.virtualMachine") ! + " : " ! + System.getProperty("java.vm.name") ! + ", " ! + System.getProperty("java.vm.version"), SwingConstants.LEADING); ! vm.setForeground(Color.black); ! info.add(vm); ! ! JLabel laf = new JLabel( ! resources.getString("about.dialog.text.lookAndFeel") ! + " : " ! + UIManager.getLookAndFeel().getName(), SwingConstants.LEADING); ! vm.setForeground(Color.black); ! info.add(laf); ! this.panel.add("South", info); ! } ! } Index: Browser.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/org/ejtools/jmx/browser/Browser.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Browser.java 27 Nov 2003 01:13:06 -0000 1.2 --- Browser.java 13 Dec 2003 22:15:07 -0000 1.3 *************** *** 9,12 **** --- 9,13 ---- import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; + import java.io.File; import java.net.URL; import java.util.Arrays; *************** *** 18,22 **** import org.apache.log4j.Logger; - import org.ejtools.adwt.FileUtil; import org.ejtools.adwt.LookAndFeelUtil; import org.ejtools.adwt.action.Command; --- 19,22 ---- *************** *** 39,44 **** --- 39,46 ---- import org.ejtools.jmx.browser.model.service.ConnectionMetaData; import org.ejtools.jmx.browser.state.WorkbenchState; + import org.ejtools.util.FileTools; import org.ejtools.util.service.Profile; import org.ejtools.util.service.ProfileServiceProvider; + import org.ejtools.util.state.WorkspaceFileTools; /** *************** *** 52,65 **** public class Browser extends CustomBeanContextServicesSupport implements HistoryService.Holder { protected AboutServiceProvider aboutService; protected ConsoleServiceProvider consoleService; protected ProfileServiceProvider factoryProvider; protected MDIFrameServiceProvider frameService; protected GraphServiceProvider graphService; protected HistoryServiceProvider historyService; protected MenuBarServiceProvider menuBarService; protected WorkbenchState stateManager; protected ToolBarServiceProvider toolBarService; ! /** Default logger */ private static Logger logger = Logger.getLogger(Browser.class); /** Bundle for I18N */ --- 54,76 ---- public class Browser extends CustomBeanContextServicesSupport implements HistoryService.Holder { + /** Description of the Field */ protected AboutServiceProvider aboutService; + /** Description of the Field */ protected ConsoleServiceProvider consoleService; + /** Description of the Field */ protected ProfileServiceProvider factoryProvider; + /** Description of the Field */ protected MDIFrameServiceProvider frameService; + /** Description of the Field */ protected GraphServiceProvider graphService; + /** Description of the Field */ protected HistoryServiceProvider historyService; + /** Description of the Field */ protected MenuBarServiceProvider menuBarService; + /** Description of the Field */ protected WorkbenchState stateManager; + /** Description of the Field */ protected ToolBarServiceProvider toolBarService; ! /** Default logger */ private static Logger logger = Logger.getLogger(Browser.class); /** Bundle for I18N */ *************** *** 150,157 **** try { ! URL selectedURL = FileUtil.selectWorkspaceFile(resources.getString("file.dialog.title.load"), JFileChooser.OPEN_DIALOG); ! if (selectedURL != null) { ! loadResource(selectedURL, null); } } --- 161,168 ---- try { ! File selectedFile = FileTools.selectFile(resources.getString("file.dialog.title.load"), resources.getString("file.dialog.button.load"), JFileChooser.OPEN_DIALOG, WorkspaceFileTools.WORKSPACE_FILE_FILTER); ! if (selectedFile != null) { ! Browser.this.loadResource(selectedFile.toURL(), null); } } *************** *** 174,181 **** if (Browser.this.stateManager.getWorkbenchURL() == null) { ! URL selectedURL = FileUtil.selectWorkspaceFile(resources.getString("file.dialog.title.save"), JFileChooser.SAVE_DIALOG); ! if (selectedURL != null) { ! Browser.this.stateManager.setWorkbenchURL(selectedURL); } } --- 185,192 ---- if (Browser.this.stateManager.getWorkbenchURL() == null) { ! File selectedFile = FileTools.selectFile(resources.getString("file.dialog.title.save"), resources.getString("file.dialog.button.save"), JFileChooser.SAVE_DIALOG, WorkspaceFileTools.WORKSPACE_FILE_FILTER); ! if (selectedFile != null) { ! Browser.this.stateManager.setWorkbenchURL(selectedFile.toURL()); } } *************** *** 200,207 **** try { ! URL selectedURL = FileUtil.selectWorkspaceFile(resources.getString("file.dialog.title.save"), JFileChooser.SAVE_DIALOG); ! if (selectedURL != null) { ! Browser.this.stateManager.setWorkbenchURL(selectedURL); Browser.this.stateManager.store(); } --- 211,218 ---- try { ! File selectedFile = FileTools.selectFile(resources.getString("file.dialog.title.save"), resources.getString("file.dialog.button.save"), JFileChooser.SAVE_DIALOG, WorkspaceFileTools.WORKSPACE_FILE_FILTER); ! if (selectedFile != null) { ! Browser.this.stateManager.setWorkbenchURL(selectedFile.toURL()); Browser.this.stateManager.store(); } Index: Main.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/org/ejtools/jmx/browser/Main.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Main.java 27 Nov 2003 01:13:06 -0000 1.3 --- Main.java 13 Dec 2003 22:15:07 -0000 1.4 *************** *** 1,108 **** ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms at http://opensource.org/licenses/lgpl-license.php ! */ ! package org.ejtools.jmx.browser; ! ! import java.beans.Beans; ! import java.io.File; ! import java.net.URL; ! import java.net.URLClassLoader; ! import java.security.AccessController; ! import java.security.Permission; ! import java.security.PrivilegedExceptionAction; ! import java.util.LinkedList; ! ! import org.apache.log4j.Logger; ! ! /** ! * Description of the Class ! * ! * @version $Revision$ ! * @author Laurent Etiemble ! * @created 21 mars 2002 ! */ ! public class Main { ! /** Description of the Field */ ! private static Logger logger = Logger.getLogger(Main.class); ! ! ! /** ! * The main program for the Main class ! * ! * @param args The command line arguments ! * @exception Exception Description of the Exception ! */ ! public static void main(String[] args) ! throws Exception { ! logger.debug("========================================"); ! logger.debug("JAVA_HOME : " + System.getProperty("java.home")); ! logger.debug("Vendor : " + System.getProperty("java.vendor")); ! logger.debug("Version : " + System.getProperty("java.version")); ! logger.debug("Operating Sys. : " + System.getProperty("os.name")); ! logger.debug("Architecture : " + System.getProperty("os.arch")); ! logger.debug("Version : " + System.getProperty("os.version")); ! logger.debug("========================================"); ! ! File pluginDir; ! File[] plugins; ! LinkedList list = new LinkedList(); ! ! logger.debug("Building classpath..."); ! ! // Store the files from lib directory ! logger.debug("Scanning lib directory..."); ! pluginDir = new File("../lib"); ! plugins = pluginDir.listFiles(); ! if (plugins != null) { ! for (int i = 0; i < plugins.length; i++) { ! logger.debug("Found " + plugins[i].toURL()); ! list.add(plugins[i].toURL()); ! } ! } ! ! // Store the files from lib/ext directory ! logger.debug("Scanning lib/ext directory..."); ! pluginDir = new File("../lib/ext"); ! plugins = pluginDir.listFiles(); ! if (plugins != null) { ! for (int i = 0; i < plugins.length; i++) { ! logger.debug("Found " + plugins[i].toURL()); ! list.add(plugins[i].toURL()); ! } ! } ! logger.debug("========================================"); ! ! // Create a custom classloader ! URL[] pluginURLs = (URL[]) list.toArray(new URL[list.size()]); ! Thread.currentThread().setContextClassLoader( ! new URLClassLoader(pluginURLs, Thread.currentThread().getContextClassLoader()) ! ); ! ! // Custom security manager ! System.setSecurityManager( ! new SecurityManager() { ! public void checkPermission(Permission p) { } ! ! ! public void checkPermission(Permission perm, Object context) { } ! }); ! ! // Create the JMX Browser JavaBean ! logger.debug("Launching EJTools JMX Browser"); ! AccessController.doPrivileged( ! new PrivilegedExceptionAction() { ! public Object run() ! throws Exception { ! Beans.instantiate( ! Thread.currentThread().getContextClassLoader(), ! "org.ejtools.jmx.browser.Browser" ! ); ! return null; ! } ! }); ! } ! } ! --- 1,108 ---- ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms at http://opensource.org/licenses/lgpl-license.php ! */ ! package org.ejtools.jmx.browser; ! ! import java.beans.Beans; ! import java.io.File; ! import java.net.URL; ! import java.net.URLClassLoader; ! import java.security.AccessController; ! import java.security.Permission; ! import java.security.PrivilegedExceptionAction; ! import java.util.LinkedList; ! ! import org.apache.log4j.Logger; ! ! /** ! * Description of the Class ! * ! * @version $Revision$ ! * @author Laurent Etiemble ! * @created 21 mars 2002 ! */ ! public class Main { ! /** Description of the Field */ ! private static Logger logger = Logger.getLogger(Main.class); ! ! ! /** ! * The main program for the Main class ! * ! * @param args The command line arguments ! * @exception Exception Description of the Exception ! */ ! public static void main(String[] args) ! throws Exception { ! logger.debug("========================================"); ! logger.debug("JAVA_HOME : " + System.getProperty("java.home")); ! logger.debug("Vendor : " + System.getProperty("java.vendor")); ! logger.debug("Version : " + System.getProperty("java.version")); ! logger.debug("Operating Sys. : " + System.getProperty("os.name")); ! logger.debug("Architecture : " + System.getProperty("os.arch")); ! logger.debug("Version : " + System.getProperty("os.version")); ! logger.debug("========================================"); ! ! File pluginDir; ! File[] plugins; ! LinkedList list = new LinkedList(); ! ! logger.debug("Building classpath..."); ! ! // Store the files from lib directory ! logger.debug("Scanning lib directory..."); ! pluginDir = new File("../lib"); ! plugins = pluginDir.listFiles(); ! if (plugins != null) { ! for (int i = 0; i < plugins.length; i++) { ! logger.debug("Found " + plugins[i].toURL()); ! list.add(plugins[i].toURL()); ! } ! } ! ! // Store the files from lib/ext directory ! logger.debug("Scanning lib/ext directory..."); ! pluginDir = new File("../lib/ext"); ! plugins = pluginDir.listFiles(); ! if (plugins != null) { ! for (int i = 0; i < plugins.length; i++) { ! logger.debug("Found " + plugins[i].toURL()); ! list.add(plugins[i].toURL()); ! } ! } ! logger.debug("========================================"); ! ! // Create a custom classloader ! URL[] pluginURLs = (URL[]) list.toArray(new URL[list.size()]); ! Thread.currentThread().setContextClassLoader( ! new URLClassLoader(pluginURLs, Thread.currentThread().getContextClassLoader()) ! ); ! ! // Custom security manager ! System.setSecurityManager( ! new SecurityManager() { ! public void checkPermission(Permission p) { } ! ! ! public void checkPermission(Permission perm, Object context) { } ! }); ! ! // Create the JMX Browser JavaBean ! logger.debug("Launching EJTools JMX Browser"); ! AccessController.doPrivileged( ! new PrivilegedExceptionAction() { ! public Object run() ! throws Exception { ! Beans.instantiate( ! Thread.currentThread().getContextClassLoader(), ! "org.ejtools.jmx.browser.Browser" ! ); ! return null; ! } ! }); ! } ! } ! |
From: <let...@us...> - 2003-12-14 08:38:22
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/etc In directory sc8-pr-cvs1:/tmp/cvs-serv11709/jmx.browser/src/etc Modified Files: run.mf Log Message: Add more javadocs. Adjust some things. Index: run.mf =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/etc/run.mf,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** run.mf 27 Nov 2003 01:13:06 -0000 1.8 --- run.mf 13 Dec 2003 22:15:06 -0000 1.9 *************** *** 1,4 **** Main-Class: org.ejtools.jmx.browser.Main ! Class-Path: ../conf/ ../lib/log4j.jar Name: org/ejtools/jmx/browser/ --- 1,4 ---- Main-Class: org.ejtools.jmx.browser.Main ! Class-Path: ../conf/ ../lib/log4j-1.2.8.jar Name: org/ejtools/jmx/browser/ |
Update of /cvsroot/ejtools/applications/jmx.browser/src/main/org/ejtools/jmx/browser/model/connector In directory sc8-pr-cvs1:/tmp/cvs-serv11709/jmx.browser/src/main/org/ejtools/jmx/browser/model/connector Modified Files: AbstractConnectionService.java JBoss30EJBConnectionService.java JBoss30RMIConnectionService.java Log Message: Add more javadocs. Adjust some things. Index: AbstractConnectionService.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/org/ejtools/jmx/browser/model/connector/AbstractConnectionService.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** AbstractConnectionService.java 27 Nov 2003 01:13:07 -0000 1.4 --- AbstractConnectionService.java 13 Dec 2003 22:15:07 -0000 1.5 *************** *** 1,119 **** ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package org.ejtools.jmx.browser.model.connector; ! ! import javax.management.MBeanServer; ! ! import org.ejtools.jmx.browser.model.service.ConnectionService; ! import org.ejtools.util.service.Profile; ! ! /** ! * Abstract connection that holds some common behaviour for the connectors ! * ! * @author letiembl ! * @created 4 septembre 2002 ! * @version $Revision$ ! */ ! public abstract class AbstractConnectionService implements ConnectionService ! { ! /** Connected state */ ! protected boolean connected = false; ! /** The connection profile */ ! protected Profile profile = null; ! /** The proxied MBean server */ ! protected MBeanServer server = null; ! ! ! /**Constructor for the AbstractConnectionService object */ ! protected AbstractConnectionService() { } ! ! ! /** ! * Connect to the MBean server with this profile ! * ! * @param profile Connection profile ! */ ! public void connect(Profile profile) ! { ! this.profile = profile; ! try ! { ! this.createMBeanServer(); ! this.setConnected(true); ! } ! catch (Exception e) ! { ! e.printStackTrace(); ! this.setConnected(false); ! } ! } ! ! ! /** Disconnect from the MBean server */ ! public void disconnect() { } ! ! ! /** ! * Gets the proxied MBean server ! * ! * @return The MBeanServer proxy ! */ ! public MBeanServer getMBeanServer() ! { ! if (!this.connected) ! { ! throw new IllegalStateException("The service is not connected. Call 'connect' method before."); ! } ! if (this.server == null) ! { ! throw new IllegalStateException("The server is null. Call 'connect' method before."); ! } ! return this.server; ! } ! ! ! /** ! * Return whether the connector is connector ! * ! * @return true if connected ! */ ! public boolean isConnected() ! { ! return this.connected; ! } ! ! ! /** ! * Sets the connection state value ! * ! * @param connected The connection state ! */ ! public void setConnected(boolean connected) ! { ! this.connected = connected; ! } ! ! ! /** ! * Create the proxy to the MBean server. This method must set the MBean server after a successful creation. ! * ! * @exception Exception Description of the Exception ! */ ! protected abstract void createMBeanServer() ! throws Exception; ! ! ! /** ! * Sets the MBeanServer proxy for this connector ! * ! * @param server The MBeanServer proxy ! */ ! protected void setMBeanServer(MBeanServer server) ! { ! this.server = server; ! } ! } --- 1,119 ---- ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package org.ejtools.jmx.browser.model.connector; ! ! import javax.management.MBeanServer; ! ! import org.ejtools.jmx.browser.model.service.ConnectionService; ! import org.ejtools.util.service.Profile; ! ! /** ! * Abstract connection that holds some common behaviour for the connectors ! * ! * @author letiembl ! * @created 4 septembre 2002 ! * @version $Revision$ ! */ ! public abstract class AbstractConnectionService implements ConnectionService ! { ! /** Connected state */ ! protected boolean connected = false; ! /** The connection profile */ ! protected Profile profile = null; ! /** The proxied MBean server */ ! protected MBeanServer server = null; ! ! ! /**Constructor for the AbstractConnectionService object */ ! protected AbstractConnectionService() { } ! ! ! /** ! * Connect to the MBean server with this profile ! * ! * @param profile Connection profile ! */ ! public void connect(Profile profile) ! { ! this.profile = profile; ! try ! { ! this.createMBeanServer(); ! this.setConnected(true); ! } ! catch (Exception e) ! { ! e.printStackTrace(); ! this.setConnected(false); ! } ! } ! ! ! /** Disconnect from the MBean server */ ! public void disconnect() { } ! ! ! /** ! * Gets the proxied MBean server ! * ! * @return The MBeanServer proxy ! */ ! public MBeanServer getMBeanServer() ! { ! if (!this.connected) ! { ! throw new IllegalStateException("The service is not connected. Call 'connect' method before."); ! } ! if (this.server == null) ! { ! throw new IllegalStateException("The server is null. Call 'connect' method before."); ! } ! return this.server; ! } ! ! ! /** ! * Return whether the connector is connector ! * ! * @return true if connected ! */ ! public boolean isConnected() ! { ! return this.connected; ! } ! ! ! /** ! * Sets the connection state value ! * ! * @param connected The connection state ! */ ! public void setConnected(boolean connected) ! { ! this.connected = connected; ! } ! ! ! /** ! * Create the proxy to the MBean server. This method must set the MBean server after a successful creation. ! * ! * @exception Exception Description of the Exception ! */ ! protected abstract void createMBeanServer() ! throws Exception; ! ! ! /** ! * Sets the MBeanServer proxy for this connector ! * ! * @param server The MBeanServer proxy ! */ ! protected void setMBeanServer(MBeanServer server) ! { ! this.server = server; ! } ! } Index: JBoss30EJBConnectionService.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/org/ejtools/jmx/browser/model/connector/JBoss30EJBConnectionService.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** JBoss30EJBConnectionService.java 27 Nov 2003 01:13:07 -0000 1.4 --- JBoss30EJBConnectionService.java 13 Dec 2003 22:15:07 -0000 1.5 *************** *** 1,81 **** ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package org.ejtools.jmx.browser.model.connector; ! ! import java.lang.reflect.Method; ! import java.util.Hashtable; ! ! import javax.management.MBeanServer; ! import javax.naming.Context; ! import javax.naming.InitialContext; ! import javax.rmi.PortableRemoteObject; ! ! import org.ejtools.jmx.MBeanServerProxy; ! import org.ejtools.jmx.browser.model.service.ConnectionMetaData; ! ! ! /** ! * EJB Connector for JBoss 3.x series. Look up an EJB Home into the JNDI space and create ! * an instance of an EJB, which is proxied to hide the remote aspects. ! * ! * @author letiembl ! * @created 4 septembre 2002 ! * @version $Revision$ ! */ ! public class JBoss30EJBConnectionService extends AbstractConnectionService ! { ! /** Instace of the RMI adaptor */ ! protected Object adaptor = null; ! ! ! /** Disconnection by removing the EJB instance. */ ! public void disconnect() ! { ! super.disconnect(); ! try ! { ! // Search for the stop method of the EJB Adaptor ! Method m = this.adaptor.getClass().getMethod("remove", new Class[0]); ! m.invoke(this.adaptor, new Object[0]); ! } ! catch (Exception e) ! { ! // Do nothing ! } ! this.setConnected(false); ! } ! ! ! /** ! * Creation of the local proxy to access the remote MBean server. ! * ! * @exception Exception Description of the Exception ! */ ! protected void createMBeanServer() ! throws Exception ! { ! System.setProperty("jmx.serial.form", "1.1"); ! ! Hashtable props = new Hashtable(); ! props.put(Context.INITIAL_CONTEXT_FACTORY, this.profile.getProperty(ConnectionMetaData.FACTORY)); ! props.put(Context.URL_PKG_PREFIXES, this.profile.getProperty(ConnectionMetaData.PACKAGES)); ! props.put(Context.PROVIDER_URL, this.profile.getProperty(ConnectionMetaData.URL)); ! props.put(Context.SECURITY_PRINCIPAL, this.profile.getProperty(ConnectionMetaData.PRINCIPAL)); ! props.put(Context.SECURITY_CREDENTIALS, this.profile.getProperty(ConnectionMetaData.CREDENTIALS)); ! ! InitialContext context = new InitialContext(props); ! Object ref = context.lookup(this.profile.getProperty(ConnectionMetaData.CONTEXT)); ! ! Class clazzAdaptorHome = Thread.currentThread().getContextClassLoader().loadClass("org.jboss.jmx.adaptor.interfaces.AdaptorHome"); ! Object home = PortableRemoteObject.narrow(ref, clazzAdaptorHome); ! Method createMethod = clazzAdaptorHome.getMethod("create", new Class[0]); ! this.adaptor = createMethod.invoke(home, new Object[0]); ! ! MBeanServer server = MBeanServerProxy.createMBeanProxy(this.adaptor); ! this.setMBeanServer(server); ! } ! } --- 1,81 ---- ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package org.ejtools.jmx.browser.model.connector; ! ! import java.lang.reflect.Method; ! import java.util.Hashtable; ! ! import javax.management.MBeanServer; ! import javax.naming.Context; ! import javax.naming.InitialContext; ! import javax.rmi.PortableRemoteObject; ! ! import org.ejtools.jmx.MBeanServerProxy; ! import org.ejtools.jmx.browser.model.service.ConnectionMetaData; ! ! ! /** ! * EJB Connector for JBoss 3.x series. Look up an EJB Home into the JNDI space and create ! * an instance of an EJB, which is proxied to hide the remote aspects. ! * ! * @author letiembl ! * @created 4 septembre 2002 ! * @version $Revision$ ! */ ! public class JBoss30EJBConnectionService extends AbstractConnectionService ! { ! /** Instace of the RMI adaptor */ ! protected Object adaptor = null; ! ! ! /** Disconnection by removing the EJB instance. */ ! public void disconnect() ! { ! super.disconnect(); ! try ! { ! // Search for the stop method of the EJB Adaptor ! Method m = this.adaptor.getClass().getMethod("remove", new Class[0]); ! m.invoke(this.adaptor, new Object[0]); ! } ! catch (Exception e) ! { ! // Do nothing ! } ! this.setConnected(false); ! } ! ! ! /** ! * Creation of the local proxy to access the remote MBean server. ! * ! * @exception Exception Description of the Exception ! */ ! protected void createMBeanServer() ! throws Exception ! { ! System.setProperty("jmx.serial.form", "1.1"); ! ! Hashtable props = new Hashtable(); ! props.put(Context.INITIAL_CONTEXT_FACTORY, this.profile.getProperty(ConnectionMetaData.FACTORY)); ! props.put(Context.URL_PKG_PREFIXES, this.profile.getProperty(ConnectionMetaData.PACKAGES)); ! props.put(Context.PROVIDER_URL, this.profile.getProperty(ConnectionMetaData.URL)); ! props.put(Context.SECURITY_PRINCIPAL, this.profile.getProperty(ConnectionMetaData.PRINCIPAL)); ! props.put(Context.SECURITY_CREDENTIALS, this.profile.getProperty(ConnectionMetaData.CREDENTIALS)); ! ! InitialContext context = new InitialContext(props); ! Object ref = context.lookup(this.profile.getProperty(ConnectionMetaData.CONTEXT)); ! ! Class clazzAdaptorHome = Thread.currentThread().getContextClassLoader().loadClass("org.jboss.jmx.adaptor.interfaces.AdaptorHome"); ! Object home = PortableRemoteObject.narrow(ref, clazzAdaptorHome); ! Method createMethod = clazzAdaptorHome.getMethod("create", new Class[0]); ! this.adaptor = createMethod.invoke(home, new Object[0]); ! ! MBeanServer server = MBeanServerProxy.createMBeanProxy(this.adaptor); ! this.setMBeanServer(server); ! } ! } Index: JBoss30RMIConnectionService.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/org/ejtools/jmx/browser/model/connector/JBoss30RMIConnectionService.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** JBoss30RMIConnectionService.java 27 Nov 2003 01:13:07 -0000 1.3 --- JBoss30RMIConnectionService.java 13 Dec 2003 22:15:07 -0000 1.4 *************** *** 1,83 **** ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package org.ejtools.jmx.browser.model.connector; ! ! import java.lang.reflect.Constructor; ! import java.lang.reflect.Method; ! import java.util.Hashtable; ! ! import javax.naming.Context; ! import javax.naming.InitialContext; ! import javax.rmi.PortableRemoteObject; ! ! import org.ejtools.jmx.MBeanServerProxy; ! import org.ejtools.jmx.browser.model.service.ConnectionMetaData; ! ! ! /** ! * @author letiembl ! * @created 4 septembre 2002 ! * @version $Revision$ ! */ ! public class JBoss30RMIConnectionService extends AbstractConnectionService ! { ! /** Description of the Field */ ! protected Object connector = null; ! ! ! /**Constructor for the JBoss30RMIConnectionService object */ ! public JBoss30RMIConnectionService() ! { ! } ! ! ! /** */ ! public void disconnect() ! { ! super.disconnect(); ! try ! { ! // Search for the stop method of the RMIConnector ! Method m = this.connector.getClass().getMethod("stop", new Class[0]); ! m.invoke(this.connector, new Object[0]); ! } ! catch (Exception e) ! { ! // Do nothing ! } ! this.setConnected(false); ! } ! ! ! ! /** ! * @exception Exception Description of the Exception ! */ ! protected void createMBeanServer() ! throws Exception ! { ! System.setProperty("jmx.serial.form", "1.1"); ! ! Hashtable props = new Hashtable(); ! props.put(Context.INITIAL_CONTEXT_FACTORY, this.profile.getProperty(ConnectionMetaData.FACTORY)); ! props.put(Context.URL_PKG_PREFIXES, this.profile.getProperty(ConnectionMetaData.PACKAGES)); ! props.put(Context.PROVIDER_URL, this.profile.getProperty(ConnectionMetaData.URL)); ! props.put(Context.SECURITY_PRINCIPAL, this.profile.getProperty(ConnectionMetaData.PRINCIPAL)); ! props.put(Context.SECURITY_CREDENTIALS, this.profile.getProperty(ConnectionMetaData.CREDENTIALS)); ! ! InitialContext context = new InitialContext(props); ! Object ref = context.lookup(this.profile.getProperty(ConnectionMetaData.CONTEXT)); ! ! Class clazzAdaptor = Thread.currentThread().getContextClassLoader().loadClass("org.jboss.jmx.adaptor.rmi.RMIAdaptor"); ! Object adaptor = PortableRemoteObject.narrow(ref, clazzAdaptor); ! Class clazzConnector = Thread.currentThread().getContextClassLoader().loadClass("org.jboss.jmx.connector.rmi.RMIConnectorImpl"); ! Constructor constructor = clazzConnector.getConstructor(new Class[]{clazzAdaptor}); ! this.connector = constructor.newInstance(new Object[]{adaptor}); ! ! this.setMBeanServer(MBeanServerProxy.createMBeanProxy(this.connector)); ! } ! } --- 1,83 ---- ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package org.ejtools.jmx.browser.model.connector; ! ! import java.lang.reflect.Constructor; ! import java.lang.reflect.Method; ! import java.util.Hashtable; ! ! import javax.naming.Context; ! import javax.naming.InitialContext; ! import javax.rmi.PortableRemoteObject; ! ! import org.ejtools.jmx.MBeanServerProxy; ! import org.ejtools.jmx.browser.model.service.ConnectionMetaData; ! ! ! /** ! * @author letiembl ! * @created 4 septembre 2002 ! * @version $Revision$ ! */ ! public class JBoss30RMIConnectionService extends AbstractConnectionService ! { ! /** Description of the Field */ ! protected Object connector = null; ! ! ! /**Constructor for the JBoss30RMIConnectionService object */ ! public JBoss30RMIConnectionService() ! { ! } ! ! ! /** */ ! public void disconnect() ! { ! super.disconnect(); ! try ! { ! // Search for the stop method of the RMIConnector ! Method m = this.connector.getClass().getMethod("stop", new Class[0]); ! m.invoke(this.connector, new Object[0]); ! } ! catch (Exception e) ! { ! // Do nothing ! } ! this.setConnected(false); ! } ! ! ! ! /** ! * @exception Exception Description of the Exception ! */ ! protected void createMBeanServer() ! throws Exception ! { ! System.setProperty("jmx.serial.form", "1.1"); ! ! Hashtable props = new Hashtable(); ! props.put(Context.INITIAL_CONTEXT_FACTORY, this.profile.getProperty(ConnectionMetaData.FACTORY)); ! props.put(Context.URL_PKG_PREFIXES, this.profile.getProperty(ConnectionMetaData.PACKAGES)); ! props.put(Context.PROVIDER_URL, this.profile.getProperty(ConnectionMetaData.URL)); ! props.put(Context.SECURITY_PRINCIPAL, this.profile.getProperty(ConnectionMetaData.PRINCIPAL)); ! props.put(Context.SECURITY_CREDENTIALS, this.profile.getProperty(ConnectionMetaData.CREDENTIALS)); ! ! InitialContext context = new InitialContext(props); ! Object ref = context.lookup(this.profile.getProperty(ConnectionMetaData.CONTEXT)); ! ! Class clazzAdaptor = Thread.currentThread().getContextClassLoader().loadClass("org.jboss.jmx.adaptor.rmi.RMIAdaptor"); ! Object adaptor = PortableRemoteObject.narrow(ref, clazzAdaptor); ! Class clazzConnector = Thread.currentThread().getContextClassLoader().loadClass("org.jboss.jmx.connector.rmi.RMIConnectorImpl"); ! Constructor constructor = clazzConnector.getConstructor(new Class[]{clazzAdaptor}); ! this.connector = constructor.newInstance(new Object[]{adaptor}); ! ! this.setMBeanServer(MBeanServerProxy.createMBeanProxy(this.connector)); ! } ! } |
From: <let...@us...> - 2003-12-14 08:38:22
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/main/org/ejtools/jmx/browser/state In directory sc8-pr-cvs1:/tmp/cvs-serv11709/jmx.browser/src/main/org/ejtools/jmx/browser/state Modified Files: WorkbenchState.java WorkbenchStoreVisitor.java Log Message: Add more javadocs. Adjust some things. Index: WorkbenchState.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/org/ejtools/jmx/browser/state/WorkbenchState.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** WorkbenchState.java 27 Nov 2003 01:13:07 -0000 1.1 --- WorkbenchState.java 13 Dec 2003 22:15:07 -0000 1.2 *************** *** 1,161 **** ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package org.ejtools.jmx.browser.state; ! ! import java.beans.beancontext.BeanContext; ! import java.io.File; ! import java.net.URL; ! ! import javax.xml.parsers.DocumentBuilder; ! import javax.xml.parsers.DocumentBuilderFactory; ! import javax.xml.parsers.SAXParser; ! import javax.xml.parsers.SAXParserFactory; ! import javax.xml.transform.Result; ! import javax.xml.transform.Source; ! import javax.xml.transform.Transformer; ! import javax.xml.transform.TransformerFactory; ! import javax.xml.transform.dom.DOMSource; ! import javax.xml.transform.stream.StreamResult; ! ! import org.ejtools.graph.frame.GraphInternalFrame; ! import org.ejtools.jmx.browser.Browser; ! import org.ejtools.jmx.browser.frame.ServerInternalFrame; ! import org.ejtools.jmx.browser.model.Domain; ! import org.ejtools.jmx.browser.model.Resource; ! import org.ejtools.jmx.browser.model.Server; ! import org.ejtools.jmx.browser.state.rules.GraphInternalFrameRule; ! import org.ejtools.jmx.browser.state.rules.ResourceGraphRule; ! import org.ejtools.jmx.browser.state.rules.ResourceRule; ! import org.ejtools.jmx.browser.state.rules.ServerInternalFrameRule; ! import org.ejtools.jmx.browser.state.rules.ServerRule; ! import org.ejtools.util.service.ProfileRule; ! import org.ejtools.util.state.LoadHandler; ! import org.ejtools.util.state.StoreVisitor; ! import org.w3c.dom.Document; ! ! ! /** ! * @author Laurent Etiemble ! * @created 3 juin 2003 ! * @version $Revision$ ! */ ! public class WorkbenchState ! { ! /** Description of the Field */ ! private BeanContext context; ! /** Description of the Field */ ! private Document document; ! /** Description of the Field */ ! private URL workbenchURL; ! ! ! /** ! *Constructor for the FilePersistenceStore object ! * ! * @param context Description of the Parameter ! */ ! public WorkbenchState(BeanContext context) ! { ! this.context = context; ! } ! ! ! /** ! * Gets the workbenchFile attribute of the WorkbenchStore object ! * ! * @return The workbenchFile value ! */ ! public URL getWorkbenchURL() ! { ! return this.workbenchURL; ! } ! ! ! /** Description of the Method */ ! public void load() ! { ! // Check that the URL is not null andthat URL is a file ! if ((this.workbenchURL == null) && (!this.workbenchURL.getProtocol().equals("file"))) ! { ! return; ! } ! ! try ! { ! LoadHandler handler = new LoadHandler(); ! handler.getContext().put("CONTAINER", this.context); ! ! handler.addRule("/workbench/graph-frame", new GraphInternalFrameRule()); ! handler.addRule("/workbench/jmx-frame", new ServerInternalFrameRule()); ! handler.addRule("/workbench/jmx-frame/profile", new ProfileRule()); ! handler.addRule("/workbench/jmx-frame/profile/property", new ProfileRule.ProfilePropertyRule()); ! handler.addRule("/workbench/jmx-frame/jmx-server", new ServerRule()); ! handler.addRule("/workbench/jmx-frame/jmx-server/jmx-resource", new ResourceRule()); ! handler.addRule("/workbench/jmx-frame/jmx-server/jmx-resource/jmx-graph", new ResourceGraphRule()); ! ! SAXParserFactory factory = SAXParserFactory.newInstance(); ! SAXParser parser = factory.newSAXParser(); ! File file = new File(this.workbenchURL.getFile()); ! parser.parse(file, handler); ! } ! catch (Exception e) ! { ! e.printStackTrace(); ! } ! } ! ! ! /** ! * Sets the workbenchFile attribute of the WorkbenchStore object ! * ! * @param workbenchURL The new workbenchURL value ! */ ! public void setWorkbenchURL(URL workbenchURL) ! { ! this.workbenchURL = workbenchURL; ! } ! ! ! /** Description of the Method */ ! public void store() ! { ! // Check that the URL is not null andthat URL is a file ! if ((this.workbenchURL == null) && (!this.workbenchURL.getProtocol().equals("file"))) ! { ! return; ! } ! ! try ! { ! DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance(); ! DocumentBuilder builder = dbFactory.newDocumentBuilder(); ! this.document = builder.newDocument(); ! ! StoreVisitor visitor = new WorkbenchStoreVisitor(this.document); ! visitor.registerForPersistence(Browser.class); ! visitor.registerForPersistence(ServerInternalFrame.class); ! visitor.registerForPersistence(GraphInternalFrame.class); ! visitor.registerForPersistence(Server.class); ! visitor.registerForPersistence(Domain.class); ! visitor.registerForPersistence(Resource.class); ! visitor.persist(this.context); ! ! TransformerFactory tFactory = TransformerFactory.newInstance(); ! Transformer transformer = tFactory.newTransformer(); ! transformer.setOutputProperty("indent", "true"); ! ! Source source = new DOMSource(this.document); ! File file = new File(this.workbenchURL.getFile()); ! Result result = new StreamResult(file); ! transformer.transform(source, result); ! } ! catch (Exception e) ! { ! e.printStackTrace(); ! } ! } ! } --- 1,161 ---- ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package org.ejtools.jmx.browser.state; ! ! import java.beans.beancontext.BeanContext; ! import java.io.File; ! import java.net.URL; ! ! import javax.xml.parsers.DocumentBuilder; ! import javax.xml.parsers.DocumentBuilderFactory; ! import javax.xml.parsers.SAXParser; ! import javax.xml.parsers.SAXParserFactory; ! import javax.xml.transform.Result; ! import javax.xml.transform.Source; ! import javax.xml.transform.Transformer; ! import javax.xml.transform.TransformerFactory; ! import javax.xml.transform.dom.DOMSource; ! import javax.xml.transform.stream.StreamResult; ! ! import org.ejtools.graph.frame.GraphInternalFrame; ! import org.ejtools.jmx.browser.Browser; ! import org.ejtools.jmx.browser.frame.ServerInternalFrame; ! import org.ejtools.jmx.browser.model.Domain; ! import org.ejtools.jmx.browser.model.Resource; ! import org.ejtools.jmx.browser.model.Server; ! import org.ejtools.jmx.browser.state.rules.GraphInternalFrameRule; ! import org.ejtools.jmx.browser.state.rules.ResourceGraphRule; ! import org.ejtools.jmx.browser.state.rules.ResourceRule; ! import org.ejtools.jmx.browser.state.rules.ServerInternalFrameRule; ! import org.ejtools.jmx.browser.state.rules.ServerRule; ! import org.ejtools.util.service.ProfileRule; ! import org.ejtools.util.state.LoadHandler; ! import org.ejtools.util.state.StoreVisitor; ! import org.w3c.dom.Document; ! ! ! /** ! * @author Laurent Etiemble ! * @created 3 juin 2003 ! * @version $Revision$ ! */ ! public class WorkbenchState ! { ! /** Description of the Field */ ! private BeanContext context; ! /** Description of the Field */ ! private Document document; ! /** Description of the Field */ ! private URL workbenchURL; ! ! ! /** ! *Constructor for the FilePersistenceStore object ! * ! * @param context Description of the Parameter ! */ ! public WorkbenchState(BeanContext context) ! { ! this.context = context; ! } ! ! ! /** ! * Gets the workbenchFile attribute of the WorkbenchStore object ! * ! * @return The workbenchFile value ! */ ! public URL getWorkbenchURL() ! { ! return this.workbenchURL; ! } ! ! ! /** Description of the Method */ ! public void load() ! { ! // Check that the URL is not null andthat URL is a file ! if ((this.workbenchURL == null) && (!this.workbenchURL.getProtocol().equals("file"))) ! { ! return; ! } ! ! try ! { ! LoadHandler handler = new LoadHandler(); ! handler.getContext().put("CONTAINER", this.context); ! ! handler.addRule("/workbench/graph-frame", new GraphInternalFrameRule()); ! handler.addRule("/workbench/jmx-frame", new ServerInternalFrameRule()); ! handler.addRule("/workbench/jmx-frame/profile", new ProfileRule()); ! handler.addRule("/workbench/jmx-frame/profile/property", new ProfileRule.ProfilePropertyRule()); ! handler.addRule("/workbench/jmx-frame/jmx-server", new ServerRule()); ! handler.addRule("/workbench/jmx-frame/jmx-server/jmx-resource", new ResourceRule()); ! handler.addRule("/workbench/jmx-frame/jmx-server/jmx-resource/jmx-graph", new ResourceGraphRule()); ! ! SAXParserFactory factory = SAXParserFactory.newInstance(); ! SAXParser parser = factory.newSAXParser(); ! File file = new File(this.workbenchURL.getFile()); ! parser.parse(file, handler); ! } ! catch (Exception e) ! { ! e.printStackTrace(); ! } ! } ! ! ! /** ! * Sets the workbenchFile attribute of the WorkbenchStore object ! * ! * @param workbenchURL The new workbenchURL value ! */ ! public void setWorkbenchURL(URL workbenchURL) ! { ! this.workbenchURL = workbenchURL; ! } ! ! ! /** Description of the Method */ ! public void store() ! { ! // Check that the URL is not null andthat URL is a file ! if ((this.workbenchURL == null) && (!this.workbenchURL.getProtocol().equals("file"))) ! { ! return; ! } ! ! try ! { ! DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance(); ! DocumentBuilder builder = dbFactory.newDocumentBuilder(); ! this.document = builder.newDocument(); ! ! StoreVisitor visitor = new WorkbenchStoreVisitor(this.document); ! visitor.registerForPersistence(Browser.class); ! visitor.registerForPersistence(ServerInternalFrame.class); ! visitor.registerForPersistence(GraphInternalFrame.class); ! visitor.registerForPersistence(Server.class); ! visitor.registerForPersistence(Domain.class); ! visitor.registerForPersistence(Resource.class); ! visitor.persist(this.context); ! ! TransformerFactory tFactory = TransformerFactory.newInstance(); ! Transformer transformer = tFactory.newTransformer(); ! transformer.setOutputProperty("indent", "true"); ! ! Source source = new DOMSource(this.document); ! File file = new File(this.workbenchURL.getFile()); ! Result result = new StreamResult(file); ! transformer.transform(source, result); ! } ! catch (Exception e) ! { ! e.printStackTrace(); ! } ! } ! } Index: WorkbenchStoreVisitor.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/org/ejtools/jmx/browser/state/WorkbenchStoreVisitor.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** WorkbenchStoreVisitor.java 27 Nov 2003 01:13:07 -0000 1.1 --- WorkbenchStoreVisitor.java 13 Dec 2003 22:15:07 -0000 1.2 *************** *** 1,196 **** ! /* ! * ianRR, is a new RR ! * ! * Distributable under LGPL license. ! * See terms at http://opensource.org/licenses/lgpl-license.php ! */ ! package org.ejtools.jmx.browser.state; ! ! import java.util.Iterator; ! import org.w3c.dom.Document; ! import org.w3c.dom.Element; ! ! import org.apache.log4j.Logger; ! import org.ejtools.beans.Sort; ! import org.ejtools.graph.frame.GraphInternalFrame; ! import org.ejtools.graph.service.GraphConsumer; ! import org.ejtools.graph.service.GraphProducer; ! import org.ejtools.jmx.browser.Browser; ! import org.ejtools.jmx.browser.frame.ServerInternalFrame; ! import org.ejtools.jmx.browser.model.Domain; ! import org.ejtools.jmx.browser.model.Resource; ! import org.ejtools.jmx.browser.model.Server; ! import org.ejtools.util.service.Profile; ! import org.ejtools.util.state.DefaultStoreVisitor; ! ! ! /** ! * @version $Revision$ ! * @author Laurent Etiemble ! * @created 3 juin 2003 ! */ ! public class WorkbenchStoreVisitor extends DefaultStoreVisitor { ! private Document document; ! private static Logger logger = Logger.getLogger(WorkbenchStoreVisitor.class); ! ! ! /** ! * Constructor for the WorkbenchStoreVisitor object ! * ! * @param document Description of the Parameter ! */ ! public WorkbenchStoreVisitor(Document document) { ! this.document = document; ! this.pushCurrentNode(this.document); ! } ! ! ! /** ! * Description of the Method ! * ! * @param o Description of the Parameter ! */ ! public void persist(ServerInternalFrame o) { ! logger.debug("ServerInternalFrame"); ! ! Element eFrame = this.document.createElement("jmx-frame"); ! eFrame.setAttribute("title", o.getTitle()); ! Element eProfile = this.document.createElement("profile"); ! eFrame.appendChild(eProfile); ! ! Profile profile = o.getProfile(); ! for (Iterator iterator = profile.keySet().iterator(); iterator.hasNext(); ) { ! String key = (String) iterator.next(); ! Element property = this.document.createElement("property"); ! property.setAttribute("key", key); ! property.appendChild(this.document.createTextNode(profile.getProperty(key))); ! eProfile.appendChild(property); ! } ! ! this.peekCurrentNode().appendChild(eFrame); ! this.pushCurrentNode(eFrame); ! this.persist(o.iterator()); ! this.popCurrentNode(); ! } ! ! ! /** ! * Description of the Method ! * ! * @param o Description of the Parameter ! */ ! public void persist(GraphInternalFrame o) { ! logger.debug("GraphInternalFrame"); ! ! Element eFrame = this.document.createElement("graph-frame"); ! eFrame.setAttribute("name", o.getName()); ! eFrame.setAttribute("delay", String.valueOf(o.getDelay())); ! eFrame.setAttribute("scale", String.valueOf(o.getScale())); ! ! this.peekCurrentNode().appendChild(eFrame); ! this.pushCurrentNode(eFrame); ! this.persist(o.iterator()); ! this.popCurrentNode(); ! } ! ! ! /** ! * Description of the Method ! * ! * @param o Description of the Parameter ! */ ! public void persist(Server o) { ! logger.debug("Server"); ! ! Element server = this.document.createElement("jmx-server"); ! server.setAttribute("name", o.getName()); ! server.setAttribute("connected", "" + o.isConnected()); ! ! this.peekCurrentNode().appendChild(server); ! this.pushCurrentNode(server); ! this.persist(o.iterator()); ! this.popCurrentNode(); ! } ! ! ! /** ! * Description of the Method ! * ! * @param o Description of the Parameter ! */ ! public void persist(Domain o) { ! this.persist(o.iterator()); ! } ! ! ! /** ! * Description of the Method ! * ! * @param o Description of the Parameter ! */ ! public void persist(Browser o) { ! logger.debug("Browser"); ! ! Element workbench = this.document.createElement("workbench"); ! ! this.peekCurrentNode().appendChild(workbench); ! this.pushCurrentNode(workbench); ! this.persist(Sort.getChildrenByClass(o.iterator(), GraphInternalFrame.class)); ! this.persist(Sort.getChildrenByClass(o.iterator(), ServerInternalFrame.class)); ! this.popCurrentNode(); ! } ! ! ! /** ! * Description of the Method ! * ! * @param o Description of the Parameter ! */ ! public void persist(Resource o) { ! try { ! int g = o.getGraphProducers().size(); ! boolean notif = o.isRegisteredForNotifications(); ! ! if ((g > 0) || notif) { ! Element resource = this.document.createElement("jmx-resource"); ! resource.setAttribute("objectName", o.getCanonicalName()); ! ! if (notif) { ! resource.setAttribute("listen", "true"); ! } ! if (g > 0) { ! GraphConsumer[] consumers = o.getGraphConsumers(); ! ! for (Iterator iterator = o.getGraphProducers().keySet().iterator(); iterator.hasNext(); ) { ! String attribute = (String) iterator.next(); ! GraphProducer producer = (GraphProducer) o.getGraphProducers().get(attribute); ! ! GraphConsumer consumer = null; ! for (int i = 0; i < consumers.length; i++) { ! GraphConsumer gc = consumers[i]; ! if (gc.containsGraphProducer(producer)) { ! consumer = gc; ! } ! } ! if (consumer != null) { ! Element graph = this.document.createElement("jmx-graph"); ! graph.setAttribute("attribute", attribute); ! graph.setAttribute("target", consumer.toString()); ! resource.appendChild(graph); ! } ! //else ! //{ ! // logger.warn("A graph producer is not linked to a graph consumer !!!"); ! //} ! } ! } ! this.peekCurrentNode().appendChild(resource); ! this.pushCurrentNode(resource); ! this.persist(o.iterator()); ! this.popCurrentNode(); ! } ! } catch (Exception e) { ! e.printStackTrace(); ! } ! } ! } --- 1,196 ---- ! /* ! * ianRR, is a new RR ! * ! * Distributable under LGPL license. ! * See terms at http://opensource.org/licenses/lgpl-license.php ! */ ! package org.ejtools.jmx.browser.state; ! ! import java.util.Iterator; ! import org.w3c.dom.Document; ! import org.w3c.dom.Element; ! ! import org.apache.log4j.Logger; ! import org.ejtools.beans.Sort; ! import org.ejtools.graph.frame.GraphInternalFrame; ! import org.ejtools.graph.service.GraphConsumer; ! import org.ejtools.graph.service.GraphProducer; ! import org.ejtools.jmx.browser.Browser; ! import org.ejtools.jmx.browser.frame.ServerInternalFrame; ! import org.ejtools.jmx.browser.model.Domain; ! import org.ejtools.jmx.browser.model.Resource; ! import org.ejtools.jmx.browser.model.Server; ! import org.ejtools.util.service.Profile; ! import org.ejtools.util.state.DefaultStoreVisitor; ! ! ! /** ! * @version $Revision$ ! * @author Laurent Etiemble ! * @created 3 juin 2003 ! */ ! public class WorkbenchStoreVisitor extends DefaultStoreVisitor { ! private Document document; ! private static Logger logger = Logger.getLogger(WorkbenchStoreVisitor.class); ! ! ! /** ! * Constructor for the WorkbenchStoreVisitor object ! * ! * @param document Description of the Parameter ! */ ! public WorkbenchStoreVisitor(Document document) { ! this.document = document; ! this.pushCurrentNode(this.document); ! } ! ! ! /** ! * Description of the Method ! * ! * @param o Description of the Parameter ! */ ! public void persist(ServerInternalFrame o) { ! logger.debug("ServerInternalFrame"); ! ! Element eFrame = this.document.createElement("jmx-frame"); ! eFrame.setAttribute("title", o.getTitle()); ! Element eProfile = this.document.createElement("profile"); ! eFrame.appendChild(eProfile); ! ! Profile profile = o.getProfile(); ! for (Iterator iterator = profile.keySet().iterator(); iterator.hasNext(); ) { ! String key = (String) iterator.next(); ! Element property = this.document.createElement("property"); ! property.setAttribute("key", key); ! property.appendChild(this.document.createTextNode(profile.getProperty(key))); ! eProfile.appendChild(property); ! } ! ! this.peekCurrentNode().appendChild(eFrame); ! this.pushCurrentNode(eFrame); ! this.persist(o.iterator()); ! this.popCurrentNode(); ! } ! ! ! /** ! * Description of the Method ! * ! * @param o Description of the Parameter ! */ ! public void persist(GraphInternalFrame o) { ! logger.debug("GraphInternalFrame"); ! ! Element eFrame = this.document.createElement("graph-frame"); ! eFrame.setAttribute("name", o.getName()); ! eFrame.setAttribute("delay", String.valueOf(o.getDelay())); ! eFrame.setAttribute("scale", String.valueOf(o.getScale())); ! ! this.peekCurrentNode().appendChild(eFrame); ! this.pushCurrentNode(eFrame); ! this.persist(o.iterator()); ! this.popCurrentNode(); ! } ! ! ! /** ! * Description of the Method ! * ! * @param o Description of the Parameter ! */ ! public void persist(Server o) { ! logger.debug("Server"); ! ! Element server = this.document.createElement("jmx-server"); ! server.setAttribute("name", o.getName()); ! server.setAttribute("connected", "" + o.isConnected()); ! ! this.peekCurrentNode().appendChild(server); ! this.pushCurrentNode(server); ! this.persist(o.iterator()); ! this.popCurrentNode(); ! } ! ! ! /** ! * Description of the Method ! * ! * @param o Description of the Parameter ! */ ! public void persist(Domain o) { ! this.persist(o.iterator()); ! } ! ! ! /** ! * Description of the Method ! * ! * @param o Description of the Parameter ! */ ! public void persist(Browser o) { ! logger.debug("Browser"); ! ! Element workbench = this.document.createElement("workbench"); ! ! this.peekCurrentNode().appendChild(workbench); ! this.pushCurrentNode(workbench); ! this.persist(Sort.getChildrenByClass(o.iterator(), GraphInternalFrame.class)); ! this.persist(Sort.getChildrenByClass(o.iterator(), ServerInternalFrame.class)); ! this.popCurrentNode(); ! } ! ! ! /** ! * Description of the Method ! * ! * @param o Description of the Parameter ! */ ! public void persist(Resource o) { ! try { ! int g = o.getGraphProducers().size(); ! boolean notif = o.isRegisteredForNotifications(); ! ! if ((g > 0) || notif) { ! Element resource = this.document.createElement("jmx-resource"); ! resource.setAttribute("objectName", o.getCanonicalName()); ! ! if (notif) { ! resource.setAttribute("listen", "true"); ! } ! if (g > 0) { ! GraphConsumer[] consumers = o.getGraphConsumers(); ! ! for (Iterator iterator = o.getGraphProducers().keySet().iterator(); iterator.hasNext(); ) { ! String attribute = (String) iterator.next(); ! GraphProducer producer = (GraphProducer) o.getGraphProducers().get(attribute); ! ! GraphConsumer consumer = null; ! for (int i = 0; i < consumers.length; i++) { ! GraphConsumer gc = consumers[i]; ! if (gc.containsGraphProducer(producer)) { ! consumer = gc; ! } ! } ! if (consumer != null) { ! Element graph = this.document.createElement("jmx-graph"); ! graph.setAttribute("attribute", attribute); ! graph.setAttribute("target", consumer.toString()); ! resource.appendChild(graph); ! } ! //else ! //{ ! // logger.warn("A graph producer is not linked to a graph consumer !!!"); ! //} ! } ! } ! this.peekCurrentNode().appendChild(resource); ! this.pushCurrentNode(resource); ! this.persist(o.iterator()); ! this.popCurrentNode(); ! } ! } catch (Exception e) { ! e.printStackTrace(); ! } ! } ! } |
From: <let...@us...> - 2003-12-14 08:38:22
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/main/org/ejtools/jmx/browser/model In directory sc8-pr-cvs1:/tmp/cvs-serv11709/jmx.browser/src/main/org/ejtools/jmx/browser/model Modified Files: Node.java Resource.java Server.java Log Message: Add more javadocs. Adjust some things. Index: Node.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/org/ejtools/jmx/browser/model/Node.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Node.java 27 Nov 2003 01:13:07 -0000 1.2 --- Node.java 13 Dec 2003 22:15:07 -0000 1.3 *************** *** 1,112 **** ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package org.ejtools.jmx.browser.model; ! ! import java.awt.Component; ! import java.beans.Customizer; ! import java.beans.beancontext.BeanContextChildComponentProxy; ! import java.util.Iterator; ! ! import org.ejtools.adwt.GenericCustomizer; ! import org.ejtools.beans.Sort; ! import org.ejtools.beans.beancontext.CustomBeanContextServicesSupport; ! ! /** ! * Description of the Class ! * ! * @author letiemble ! * @created 13 décembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete ! */ ! public abstract class Node extends CustomBeanContextServicesSupport implements BeanContextChildComponentProxy ! { ! /** Description of the Field */ ! protected transient Customizer c = null; ! /** Description of the Field */ ! protected String className = "<undefined>"; ! /** Description of the Field */ ! protected String name = "<undefined>"; ! ! ! /** Constructor for the Node object */ ! public Node() ! { ! super(); ! } ! ! /** ! * Getter for the className attribute ! * ! * @return The value ! */ ! public String getClassName() ! { ! return this.className; ! } ! ! ! /** ! * Gets the component attribute of the Node object ! * ! * @return The component value ! */ ! public Component getComponent() ! { ! if (c == null) ! { ! c = new GenericCustomizer(true, this); ! } ! return (Component) c; ! } ! ! ! /** ! * Gets the name attribute of the Node object ! * ! * @return The name value ! */ ! public String getName() ! { ! return this.name; ! } ! ! ! /** ! * Description of the Method ! * ! * @return Description of the Returned Value ! */ ! public Iterator iterator() ! { ! return Sort.sortByClassAndName(super.iterator()); ! } ! ! ! /** ! * Description of the Method ! * ! * @return Description of the Returned Value ! */ ! public String toString() ! { ! return (name == null || "".equals(name)) ? "Default" : name; ! } ! ! ! /** ! * Setter for the name attribute ! * ! * @param name The new name value ! */ ! protected void setName(String name) ! { ! String old = this.name; ! this.name = name; ! this.firePropertyChange("name", old, this.name); ! } ! } --- 1,112 ---- ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package org.ejtools.jmx.browser.model; ! ! import java.awt.Component; ! import java.beans.Customizer; ! import java.beans.beancontext.BeanContextChildComponentProxy; ! import java.util.Iterator; ! ! import org.ejtools.adwt.GenericCustomizer; ! import org.ejtools.beans.Sort; ! import org.ejtools.beans.beancontext.CustomBeanContextServicesSupport; ! ! /** ! * Description of the Class ! * ! * @author letiemble ! * @created 13 décembre 2001 ! * @version $Revision$ ! * @todo Javadoc to complete ! */ ! public abstract class Node extends CustomBeanContextServicesSupport implements BeanContextChildComponentProxy ! { ! /** Description of the Field */ ! protected transient Customizer c = null; ! /** Description of the Field */ ! protected String className = "<undefined>"; ! /** Description of the Field */ ! protected String name = "<undefined>"; ! ! ! /** Constructor for the Node object */ ! public Node() ! { ! super(); ! } ! ! /** ! * Getter for the className attribute ! * ! * @return The value ! */ ! public String getClassName() ! { ! return this.className; ! } ! ! ! /** ! * Gets the component attribute of the Node object ! * ! * @return The component value ! */ ! public Component getComponent() ! { ! if (c == null) ! { ! c = new GenericCustomizer(true, this); ! } ! return (Component) c; ! } ! ! ! /** ! * Gets the name attribute of the Node object ! * ! * @return The name value ! */ ! public String getName() ! { ! return this.name; ! } ! ! ! /** ! * Description of the Method ! * ! * @return Description of the Returned Value ! */ ! public Iterator iterator() ! { ! return Sort.sortByClassAndName(super.iterator()); ! } ! ! ! /** ! * Description of the Method ! * ! * @return Description of the Returned Value ! */ ! public String toString() ! { ! return (name == null || "".equals(name)) ? "Default" : name; ! } ! ! ! /** ! * Setter for the name attribute ! * ! * @param name The new name value ! */ ! protected void setName(String name) ! { ! String old = this.name; ! this.name = name; ! this.firePropertyChange("name", old, this.name); ! } ! } Index: Resource.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/org/ejtools/jmx/browser/model/Resource.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Resource.java 27 Nov 2003 01:13:07 -0000 1.6 --- Resource.java 13 Dec 2003 22:15:07 -0000 1.7 *************** *** 1,853 **** ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package org.ejtools.jmx.browser.model; ! ! import java.awt.Component; ! import java.beans.beancontext.BeanContextServiceAvailableEvent; [...1677 lines suppressed...] ! * @param context Description of the Parameter ! */ ! protected void useServices(BeanContextServices context) ! { ! if (context.hasService(CacheService.class)) ! { ! // logger.debug("Using service CacheService..."); ! try ! { ! CacheService service = (CacheService) context.getService(this, this, CacheService.class, this, this); ! service.add(CacheService.RESOURCE_TYPE, this.getCanonicalName(), this); ! context.releaseService(this, this, CacheService.class); ! } ! catch (Exception e) ! { ! logger.error("Error during utilisation of service CacheService", e); ! } ! } ! } ! } Index: Server.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/org/ejtools/jmx/browser/model/Server.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Server.java 27 Nov 2003 01:13:07 -0000 1.7 --- Server.java 13 Dec 2003 22:15:07 -0000 1.8 *************** *** 1,625 **** ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package org.ejtools.jmx.browser.model; ! ! import java.beans.beancontext.BeanContextServices; ! import java.util.Collection; [...1221 lines suppressed...] ! protected void setCount(int count) ! { ! int oldCount = this.count; ! this.count = count; ! this.firePropertyChange("count", new Integer(oldCount), new Integer(count)); ! } ! ! ! /** ! * Setter for the defaultDomain attribute ! * ! * @param defaultDomain The new defaultDomain value ! */ ! protected void setDefaultDomain(String defaultDomain) ! { ! String oldDomain = this.defaultDomain; ! this.defaultDomain = defaultDomain; ! this.firePropertyChange("defaultDomain", oldDomain, defaultDomain); ! } ! } |
Update of /cvsroot/ejtools/applications/jmx.browser/src/main/org/ejtools/jmx/browser/state/rules In directory sc8-pr-cvs1:/tmp/cvs-serv11709/jmx.browser/src/main/org/ejtools/jmx/browser/state/rules Modified Files: GraphInternalFrameRule.java ResourceGraphRule.java ResourceRule.java ServerInternalFrameRule.java ServerRule.java Log Message: Add more javadocs. Adjust some things. Index: GraphInternalFrameRule.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/org/ejtools/jmx/browser/state/rules/GraphInternalFrameRule.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** GraphInternalFrameRule.java 27 Nov 2003 01:13:07 -0000 1.1 --- GraphInternalFrameRule.java 13 Dec 2003 22:15:07 -0000 1.2 *************** *** 1,48 **** ! /* ! * Created on 20 juin 2003 ! * ! * To change this generated comment go to ! * Window>Preferences>Java>Code Generation>Code Template ! */ ! package org.ejtools.jmx.browser.state.rules; ! ! import java.beans.beancontext.BeanContextServices; ! import java.util.Map; ! ! import org.ejtools.graph.frame.GraphInternalFrame; ! import org.ejtools.util.state.DefaultRule; ! import org.xml.sax.Attributes; ! ! /** ! * @author letiemble ! * @created 20 juin 2003 ! * @version $Revision$ ! */ ! public class GraphInternalFrameRule extends DefaultRule ! { ! /** ! * Description of the Method ! * ! * @param context Description of the Parameter ! */ ! public void loadEnter(Map context) ! { ! BeanContextServices container = (BeanContextServices) context.get("CONTAINER"); ! ! GraphInternalFrame frame = new GraphInternalFrame(); ! Attributes attrs = (Attributes) context.get("ATTRIBUTES"); ! ! String name = attrs.getValue("name"); ! frame.setName(name); ! ! String delay = attrs.getValue("delay"); ! frame.setName(name); ! frame.setDelay(Long.parseLong(delay)); ! ! String scale = attrs.getValue("scale"); ! frame.setName(name); ! frame.setScale(Double.parseDouble(scale)); ! ! container.add(frame); ! } ! } --- 1,48 ---- ! /* ! * Created on 20 juin 2003 ! * ! * To change this generated comment go to ! * Window>Preferences>Java>Code Generation>Code Template ! */ ! package org.ejtools.jmx.browser.state.rules; ! ! import java.beans.beancontext.BeanContextServices; ! import java.util.Map; ! ! import org.ejtools.graph.frame.GraphInternalFrame; ! import org.ejtools.util.state.DefaultRule; ! import org.xml.sax.Attributes; ! ! /** ! * @author letiemble ! * @created 20 juin 2003 ! * @version $Revision$ ! */ ! public class GraphInternalFrameRule extends DefaultRule ! { ! /** ! * Description of the Method ! * ! * @param context Description of the Parameter ! */ ! public void loadEnter(Map context) ! { ! BeanContextServices container = (BeanContextServices) context.get("CONTAINER"); ! ! GraphInternalFrame frame = new GraphInternalFrame(); ! Attributes attrs = (Attributes) context.get("ATTRIBUTES"); ! ! String name = attrs.getValue("name"); ! frame.setName(name); ! ! String delay = attrs.getValue("delay"); ! frame.setName(name); ! frame.setDelay(Long.parseLong(delay)); ! ! String scale = attrs.getValue("scale"); ! frame.setName(name); ! frame.setScale(Double.parseDouble(scale)); ! ! container.add(frame); ! } ! } Index: ResourceGraphRule.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/org/ejtools/jmx/browser/state/rules/ResourceGraphRule.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ResourceGraphRule.java 27 Nov 2003 01:13:07 -0000 1.1 --- ResourceGraphRule.java 13 Dec 2003 22:15:07 -0000 1.2 *************** *** 1,43 **** ! /* ! * Created on 20 juin 2003 ! * ! * To change this generated comment go to ! * Window>Preferences>Java>Code Generation>Code Template ! */ ! package org.ejtools.jmx.browser.state.rules; ! ! import java.util.Map; ! ! import org.ejtools.graph.service.GraphConsumer; ! import org.ejtools.graph.service.GraphConsumerSelector; ! import org.ejtools.jmx.browser.model.Resource; ! import org.ejtools.util.state.DefaultRule; ! import org.xml.sax.Attributes; ! ! /** ! * @author letiemble ! * @created 20 juin 2003 ! * @version $Revision$ ! */ ! public class ResourceGraphRule extends DefaultRule ! { ! /** ! * Description of the Method ! * ! * @param context Description of the Parameter ! */ ! public void loadEnter(Map context) ! { ! Resource resource = (Resource) context.get("RESOURCE"); ! if (resource != null) ! { ! Attributes attrs = (Attributes) context.get("ATTRIBUTES"); ! ! String attribute = attrs.getValue("attribute"); ! String target = attrs.getValue("target"); ! ! GraphConsumer consumer = GraphConsumerSelector.select(resource, target); ! resource.registerForGraph(consumer, attribute); ! } ! } ! } --- 1,43 ---- ! /* ! * Created on 20 juin 2003 ! * ! * To change this generated comment go to ! * Window>Preferences>Java>Code Generation>Code Template ! */ ! package org.ejtools.jmx.browser.state.rules; ! ! import java.util.Map; ! ! import org.ejtools.graph.service.GraphConsumer; ! import org.ejtools.graph.service.GraphConsumerSelector; ! import org.ejtools.jmx.browser.model.Resource; ! import org.ejtools.util.state.DefaultRule; ! import org.xml.sax.Attributes; ! ! /** ! * @author letiemble ! * @created 20 juin 2003 ! * @version $Revision$ ! */ ! public class ResourceGraphRule extends DefaultRule ! { ! /** ! * Description of the Method ! * ! * @param context Description of the Parameter ! */ ! public void loadEnter(Map context) ! { ! Resource resource = (Resource) context.get("RESOURCE"); ! if (resource != null) ! { ! Attributes attrs = (Attributes) context.get("ATTRIBUTES"); ! ! String attribute = attrs.getValue("attribute"); ! String target = attrs.getValue("target"); ! ! GraphConsumer consumer = GraphConsumerSelector.select(resource, target); ! resource.registerForGraph(consumer, attribute); ! } ! } ! } Index: ResourceRule.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/org/ejtools/jmx/browser/state/rules/ResourceRule.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ResourceRule.java 27 Nov 2003 01:13:07 -0000 1.1 --- ResourceRule.java 13 Dec 2003 22:15:07 -0000 1.2 *************** *** 1,53 **** ! /* ! * Created on 20 juin 2003 ! * ! * To change this generated comment go to ! * Window>Preferences>Java>Code Generation>Code Template ! */ ! package org.ejtools.jmx.browser.state.rules; ! ! import java.util.Map; ! ! import org.ejtools.jmx.browser.frame.ServerInternalFrame; ! import org.ejtools.jmx.browser.model.Resource; ! import org.ejtools.util.state.DefaultRule; ! import org.xml.sax.Attributes; ! ! /** ! * @author letiemble ! * @created 20 juin 2003 ! * @version $Revision$ ! */ ! public class ResourceRule extends DefaultRule ! { ! /** ! * Description of the Method ! * ! * @param context Description of the Parameter ! */ ! public void loadEnter(Map context) ! { ! ServerInternalFrame frame = (ServerInternalFrame) context.get("FRAME"); ! Attributes attrs = (Attributes) context.get("ATTRIBUTES"); ! ! String objectName = attrs.getValue("objectName"); ! Resource resource = frame.queryMBean(objectName); ! if (resource != null) ! { ! context.put("RESOURCE", resource); ! ! String listen = attrs.getValue("listen"); ! if ("true".equals(listen)) ! { ! try ! { ! resource.registerForNotifications(); ! } ! catch (Exception e) ! { ! e.printStackTrace(); ! } ! } ! } ! } ! } --- 1,53 ---- ! /* ! * Created on 20 juin 2003 ! * ! * To change this generated comment go to ! * Window>Preferences>Java>Code Generation>Code Template ! */ ! package org.ejtools.jmx.browser.state.rules; ! ! import java.util.Map; ! ! import org.ejtools.jmx.browser.frame.ServerInternalFrame; ! import org.ejtools.jmx.browser.model.Resource; ! import org.ejtools.util.state.DefaultRule; ! import org.xml.sax.Attributes; ! ! /** ! * @author letiemble ! * @created 20 juin 2003 ! * @version $Revision$ ! */ ! public class ResourceRule extends DefaultRule ! { ! /** ! * Description of the Method ! * ! * @param context Description of the Parameter ! */ ! public void loadEnter(Map context) ! { ! ServerInternalFrame frame = (ServerInternalFrame) context.get("FRAME"); ! Attributes attrs = (Attributes) context.get("ATTRIBUTES"); ! ! String objectName = attrs.getValue("objectName"); ! Resource resource = frame.queryMBean(objectName); ! if (resource != null) ! { ! context.put("RESOURCE", resource); ! ! String listen = attrs.getValue("listen"); ! if ("true".equals(listen)) ! { ! try ! { ! resource.registerForNotifications(); ! } ! catch (Exception e) ! { ! e.printStackTrace(); ! } ! } ! } ! } ! } Index: ServerInternalFrameRule.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/org/ejtools/jmx/browser/state/rules/ServerInternalFrameRule.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ServerInternalFrameRule.java 27 Nov 2003 01:13:07 -0000 1.1 --- ServerInternalFrameRule.java 13 Dec 2003 22:15:07 -0000 1.2 *************** *** 1,32 **** ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package org.ejtools.jmx.browser.state.rules; ! ! import java.util.Map; ! ! import org.ejtools.jmx.browser.frame.ServerInternalFrame; ! import org.ejtools.util.state.DefaultRule; ! ! /** ! * @author letiembl ! * @version $Revision$ ! * @created 20 juin 2003 ! */ ! public class ServerInternalFrameRule extends DefaultRule ! { ! /** ! * Description of the Method ! * ! * @param context Description of the Parameter ! */ ! public void loadEnter(Map context) ! { ! ServerInternalFrame frame = new ServerInternalFrame(); ! context.put("FRAME", frame); ! context.put("HOLDER", frame); ! } ! } --- 1,32 ---- ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package org.ejtools.jmx.browser.state.rules; ! ! import java.util.Map; ! ! import org.ejtools.jmx.browser.frame.ServerInternalFrame; ! import org.ejtools.util.state.DefaultRule; ! ! /** ! * @author letiembl ! * @version $Revision$ ! * @created 20 juin 2003 ! */ ! public class ServerInternalFrameRule extends DefaultRule ! { ! /** ! * Description of the Method ! * ! * @param context Description of the Parameter ! */ ! public void loadEnter(Map context) ! { ! ServerInternalFrame frame = new ServerInternalFrame(); ! context.put("FRAME", frame); ! context.put("HOLDER", frame); ! } ! } Index: ServerRule.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/org/ejtools/jmx/browser/state/rules/ServerRule.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ServerRule.java 27 Nov 2003 01:13:07 -0000 1.1 --- ServerRule.java 13 Dec 2003 22:15:07 -0000 1.2 *************** *** 1,51 **** ! /* ! * Created on 20 juin 2003 ! * ! * To change this generated comment go to ! * Window>Preferences>Java>Code Generation>Code Template ! */ ! package org.ejtools.jmx.browser.state.rules; ! ! import java.beans.beancontext.BeanContextServices; ! import java.util.Map; ! ! import org.ejtools.jmx.browser.frame.ServerInternalFrame; ! import org.ejtools.jmx.browser.model.Server; ! import org.ejtools.util.state.DefaultRule; ! import org.xml.sax.Attributes; ! ! /** ! * @author letiemble ! * @created 20 juin 2003 ! * @version $Revision$ ! */ ! public class ServerRule extends DefaultRule ! { ! /** ! * Description of the Method ! * ! * @param context Description of the Parameter ! */ ! public void loadEnter(Map context) ! { ! BeanContextServices container = (BeanContextServices) context.get("CONTAINER"); ! ServerInternalFrame frame = (ServerInternalFrame) context.get("FRAME"); ! ! Server server = new Server(); ! context.put("SERVER", server); ! ! frame.setServer(server); ! container.add(frame); ! ! Attributes attrs = (Attributes) context.get("ATTRIBUTES"); ! ! String name = attrs.getValue("name"); ! server.setName(name); ! ! String connected = attrs.getValue("connected"); ! if ("true".equals(connected)) ! { ! server.connect(); ! } ! } ! } --- 1,51 ---- ! /* ! * Created on 20 juin 2003 ! * ! * To change this generated comment go to ! * Window>Preferences>Java>Code Generation>Code Template ! */ ! package org.ejtools.jmx.browser.state.rules; ! ! import java.beans.beancontext.BeanContextServices; ! import java.util.Map; ! ! import org.ejtools.jmx.browser.frame.ServerInternalFrame; ! import org.ejtools.jmx.browser.model.Server; ! import org.ejtools.util.state.DefaultRule; ! import org.xml.sax.Attributes; ! ! /** ! * @author letiemble ! * @created 20 juin 2003 ! * @version $Revision$ ! */ ! public class ServerRule extends DefaultRule ! { ! /** ! * Description of the Method ! * ! * @param context Description of the Parameter ! */ ! public void loadEnter(Map context) ! { ! BeanContextServices container = (BeanContextServices) context.get("CONTAINER"); ! ServerInternalFrame frame = (ServerInternalFrame) context.get("FRAME"); ! ! Server server = new Server(); ! context.put("SERVER", server); ! ! frame.setServer(server); ! container.add(frame); ! ! Attributes attrs = (Attributes) context.get("ATTRIBUTES"); ! ! String name = attrs.getValue("name"); ! server.setName(name); ! ! String connected = attrs.getValue("connected"); ! if ("true".equals(connected)) ! { ! server.connect(); ! } ! } ! } |
From: <let...@us...> - 2003-12-14 08:38:21
|
Update of /cvsroot/ejtools/applications/jmx.browser/xdocs In directory sc8-pr-cvs1:/tmp/cvs-serv11709/jmx.browser/xdocs Modified Files: faq.xml Added Files: manual.xml Log Message: Add more javadocs. Adjust some things. --- NEW FILE: manual.xml --- <?xml version="1.0"?> <!-- # ================================================================================ # EJTools, the Enterprise Java Tools # # Distributable under LGPL license. # See terms of license at gnu.org. # # $Revision: 1.1 $ # ================================================================================ --> <document> <properties> <title>JMX Browser</title> </properties> <body> <section name="Manuals"> <p>The EJTools JMX Browser manual is available under three forms :<ul> <li>A large HTML file : browse <a href="manual/large.html">here</a> </li> <li>Chuncked HTML files : browse <a href="manual/index.html">here</a> </li> <li>PDF document : download <a href="manual/large.html">here</a> </li> </ul> </p> </section> </body> </document> Index: faq.xml =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/xdocs/faq.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** faq.xml 3 May 2003 21:05:20 -0000 1.2 --- faq.xml 13 Dec 2003 22:15:08 -0000 1.3 *************** *** 1,140 **** ! <?xml version="1.0"?> ! <!-- ! # ================================================================================ ! # EJTools, the Enterprise Java Tools ! # ! # Distributable under LGPL license. ! # See terms of license at gnu.org. ! # ! # $Revision$ ! # ================================================================================ ! --> ! <document> ! <properties> ! <title>JMX Browser</title> ! </properties> ! <body> ! <section name="JMX Browser FAQs"> ! <faqs> ! <faq-section name="General"> ! <entry type="question">What is JMX ?</entry> ! <entry type="answer"> ! <p>JMX is for Java Management eXtension. It is an API dedicated to the management of server and can be connected in different ways through some adapters (SNMP for example). For more information, go <a href="http://java.sun.com/products/JavaManagement/index.html">here</a>.</p> ! </entry> ! <entry type="question">What can I do with this browser ?</entry> ! <entry type="answer"> ! <p>This tool allows the developper and the administrator of a J2EE Server to control the J2EE Server via the JMX API.</p> ! </entry> ! <entry type="question">How do I use it ?</entry> ! <entry type="answer"> ! <p>If you want to use the Web-based version, deploy it into a J2EE Server. It must be a J2EE 1.3 compliant Application Server and must provide a JMX server inside it. See application servers FAQ for more details.</p> ! <p>If you want to use the Swing-based version, the JMX implementation you want to connect must has a way to access it remotely (RMI, IIOP, etc). See applications servers/JMX implementations FAQ for more details.</p> ! </entry> ! </faq-section> ! <!-- ======================================== --> ! <!-- Web based Browser --> ! <!-- ======================================== --> ! <faq-section name="Web Based JMX Browser on..."> ! <entry type="question">JBoss Server 3.x</entry> ! <entry type="answer"> ! <p>It is pretty simple : put the jmx.browser.war file into the deploy directory. That's it.</p> ! <p>If you want to use the Custom Views features, simply put the jmx.browser.sar file and your *.jmxml files into the deploy directory. That's it.</p> ! </entry> ! <entry type="question">Apache Tomcat 4.1.x</entry> ! <entry type="answer"> ! <p>There are two ways to do under Tomcat :</p> ! <ol> ! <li>Put the jmx.browser.war file under the webapps directory of the Tomcat installation. Move the mx4j-jmx.jar file from the server/lib directory to the common/lib directory. This will make the JMX classes visible from a standard Web application.</li> ! <li>Unwar the jmx.browser.war file under the server/webapps directory of the Tomcat installation. Create a privileged xml file under the webapps directory like the admin.xml one or the manager.xml one. The browser will run as a privileged Web application</li> ! </ol> ! </entry> ! <entry type="question">WebLogic Server 7.0</entry> ! <entry type="answer"> ! <p>Well, this server has not been tested, but feedback is welcomed.</p> ! </entry> ! <entry type="question">Another application server</entry> ! <entry type="answer"> ! <p>Well, <a href="https://sourceforge.net/tracker/?group_id=49088&atid=455075">feeback</a> is welcomed if you don't see your favorite server here.</p> ! </entry> ! </faq-section> ! <faq-section name="Web Based JMX Browser : issues"> ! <entry type="question">Why do I see sometimes in MBean detail "unloadable class" ?</entry> ! <entry type="answer"> ! <p>That's mean the class returned by the MBean information cannot be loaded by the browser. As the browser runs on the server it is mostly due to misspelling in the class name.</p> ! </entry> ! </faq-section> ! <!-- ======================================== --> ! <!-- Swing based Browser --> ! <!-- ======================================== --> ! <faq-section name="Swing Based JMX Browser with..."> ! <entry type="question">JBoss Server 3.x</entry> ! <entry type="answer"> ! <p>Make sure the RMI adaptor is deployed into the JBoss server (jmx-rmi-adaptor.sar into the deploy directory).</p> ! <p>Copy the jbossall-client.jar (from JBOSS_HOME/client) and the jboss-jmx.jar (from JBOSS_HOME/lib) into the lib/ext directory of the JMX Browser and launch the browser.</p> ! <p>If you are using a JDK1.3, copy the jnet.jar, jcert.jar and jsse.jar (from JBOSS_HOME/client) into the lib/ext directory of the JMX Browser and launch the browser.</p> ! </entry> ! <entry type="question">WebLogic Server 7.0</entry> ! <entry type="answer"> ! <p>This server has not been fully tested. The main issue is about notification reception : the JMX Browser doesn't implements a WebLogic interface needed to receive the notifications.</p> ! <p>If you want to use it, copy the weblogic.jar (from BEA_HOME/weblogic700/server/lib) into the lib/ext directory of the JMX Browser and launch the browser.</p> ! </entry> ! <entry type="question">MX4J 1.1.1</entry> ! <entry type="answer"> ! <p>There are two ways to connect to a MX4J implementation :</p> ! <ol> ! <li>With the JRMP connector (see <a href="http://mx4j.sourceforge.net/docs/bk01ch03s16.html">here</a> for more details about the setup of the mx4j implementation)</li> ! <li>With the IIOP connector (see <a href="http://mx4j.sourceforge.net/docs/bk01ch03s16.html">here</a> for more details about the setup of the mx4j implementation)</li> ! </ol> ! <p>Copy the mx4j-jmx.jar and mx4j-tools.jar (from MX4J distribution) into the lib/ext directory of the JMX Browser and launch the browser.</p> ! </entry> ! <entry type="question">Pramati Server 3.0</entry> ! <entry type="answer"> ! <p>This server has not been fully tested, and was put in stand by for license reasons.</p> ! </entry> ! <entry type="question">Tivoli TMX4J 2.1</entry> ! <entry type="answer"> ! <p>This implementation has not been fully tested, and was put in stand by for license reasons.</p> ! </entry> ! <entry type="question">Sun JDMK 1.1</entry> ! <entry type="answer"> ! <p>Well, this implementation has not been tested, but feedback is welcomed.</p> ! </entry> ! <entry type="question">Another application server or JMX implementation.</entry> ! <entry type="answer"> ! <p>Well, <a href="https://sourceforge.net/tracker/?group_id=49088&atid=455075">feeback</a> is welcomed if you don't see your favorite server or your favorite JMX implementation here.</p> ! </entry> ! </faq-section> ! <faq-section name="Swing Based JMX Browser : issues"> ! <entry type="question">When a MBean is unregistered, it doesn't disappear from the tree view ?</entry> ! <entry type="answer"> ! <p>You have to refresh the server view to make it disappears.</p> ! </entry> ! <entry type="question">What are the date format supported ?</entry> ! <entry type="answer"> ! <p>There are five formats supported :</p> ! <ul> ! <li>"yyyy-MM-dd HH:mm:ss z"</li> ! <li>"yyyy-MM-dd HH:mm:ss"</li> ! <li>"yyyy-MM-dd HH:mm"</li> ! <li>"yyMMdd HH:mm:ss"</li> ! <li>"yyMMdd HH:mm"</li> ! </ul> ! <p>If you need more formats, just fill a <a href="https://sourceforge.net/tracker/?group_id=49088&atid=455075">feature request</a>.</p> ! </entry> ! <entry type="question">How do I create an empty graph window ?</entry> ! <entry type="answer"> ! <p>You can't create an empty graph window. A window is created when you want to graph a numerical value.</p> ! </entry> ! <entry type="question">Can I plot numerical values from different servers in the same graph window ?</entry> ! <entry type="answer"> ! <p>Yes, it's possible. The graph window doesn't know about one or several servers. The fact is that the JMX connection name does'nt appear in the numerical value plotted, so if you have two numerical values from two different server with the same name, you won't see any difference except the color.</p> ! </entry> ! <entry type="question">How is choosed the color for a plotted numerical value ?</entry> ! <entry type="answer"> ! <p>It is a simple color rotation. If you think it must be enhanced, post a <a href="https://sourceforge.net/tracker/?group_id=49088&atid=455075">feature request</a>.</p> ! </entry> ! </faq-section> ! </faqs> ! </section> ! </body> ! </document> --- 1,140 ---- ! <?xml version="1.0"?> ! <!-- ! # ================================================================================ ! # EJTools, the Enterprise Java Tools ! # ! # Distributable under LGPL license. ! # See terms of license at gnu.org. ! # ! # $Revision$ ! # ================================================================================ ! --> ! <document> ! <properties> ! <title>JMX Browser</title> ! </properties> ! <body> ! <section name="JMX Browser FAQs"> ! <faqs> ! <faq-section name="General"> ! <entry type="question">What is JMX ?</entry> ! <entry type="answer"> ! <p>JMX is for Java Management eXtension. It is an API dedicated to the management of server and can be connected in different ways through some adapters (SNMP for example). For more information, go <a href="http://java.sun.com/products/JavaManagement/index.html">here</a>.</p> ! </entry> ! <entry type="question">What can I do with this browser ?</entry> ! <entry type="answer"> ! <p>This tool allows the developper and the administrator of a J2EE Server to control the J2EE Server via the JMX API.</p> ! </entry> ! <entry type="question">How do I use it ?</entry> ! <entry type="answer"> ! <p>If you want to use the Web-based version, deploy it into a J2EE Server. It must be a J2EE 1.3 compliant Application Server and must provide a JMX server inside it. See application servers FAQ for more details.</p> ! <p>If you want to use the Swing-based version, the JMX implementation you want to connect must has a way to access it remotely (RMI, IIOP, etc). See applications servers/JMX implementations FAQ for more details.</p> ! </entry> ! </faq-section> ! <!-- ======================================== --> ! <!-- Web based Browser --> ! <!-- ======================================== --> ! <faq-section name="Web Based JMX Browser on..."> ! <entry type="question">JBoss Server 3.x</entry> ! <entry type="answer"> ! <p>It is pretty simple : put the jmx.browser.war file into the deploy directory. That's it.</p> ! <p>If you want to use the Custom Views features, simply put the jmx.browser.sar file and your *.jmxml files into the deploy directory. That's it.</p> ! </entry> ! <entry type="question">Apache Tomcat 4.1.x</entry> ! <entry type="answer"> ! <p>There are two ways to do under Tomcat :</p> ! <ol> ! <li>Put the jmx.browser.war file under the webapps directory of the Tomcat installation. Move the mx4j-jmx.jar file from the server/lib directory to the common/lib directory. This will make the JMX classes visible from a standard Web application.</li> ! <li>Unwar the jmx.browser.war file under the server/webapps directory of the Tomcat installation. Create a privileged xml file under the webapps directory like the admin.xml one or the manager.xml one. The browser will run as a privileged Web application</li> ! </ol> ! </entry> ! <entry type="question">WebLogic Server 7.0</entry> ! <entry type="answer"> ! <p>Well, this server has not been tested, but feedback is welcomed.</p> ! </entry> ! <entry type="question">Another application server</entry> ! <entry type="answer"> ! <p>Well, <a href="https://sourceforge.net/tracker/?group_id=49088&atid=455075">feeback</a> is welcomed if you don't see your favorite server here.</p> ! </entry> ! </faq-section> ! <faq-section name="Web Based JMX Browser : issues"> ! <entry type="question">Why do I see sometimes in MBean detail "unloadable class" ?</entry> ! <entry type="answer"> ! <p>That's mean the class returned by the MBean information cannot be loaded by the browser. As the browser runs on the server it is mostly due to misspelling in the class name.</p> ! </entry> ! </faq-section> ! <!-- ======================================== --> ! <!-- Swing based Browser --> ! <!-- ======================================== --> ! <faq-section name="Swing Based JMX Browser with..."> ! <entry type="question">JBoss Server 3.x</entry> ! <entry type="answer"> ! <p>Make sure the RMI adaptor is deployed into the JBoss server (jmx-rmi-adaptor.sar into the deploy directory).</p> ! <p>Copy the jbossall-client.jar (from JBOSS_HOME/client) and the jboss-jmx.jar (from JBOSS_HOME/lib) into the lib/ext directory of the JMX Browser and launch the browser.</p> ! <p>If you are using a JDK1.3, copy the jnet.jar, jcert.jar and jsse.jar (from JBOSS_HOME/client) into the lib/ext directory of the JMX Browser and launch the browser.</p> ! </entry> ! <entry type="question">WebLogic Server 7.0</entry> ! <entry type="answer"> ! <p>This server has not been fully tested. The main issue is about notification reception : the JMX Browser doesn't implements a WebLogic interface needed to receive the notifications.</p> ! <p>If you want to use it, copy the weblogic.jar (from BEA_HOME/weblogic700/server/lib) into the lib/ext directory of the JMX Browser and launch the browser.</p> ! </entry> ! <entry type="question">MX4J 1.1.1</entry> ! <entry type="answer"> ! <p>There are two ways to connect to a MX4J implementation :</p> ! <ol> ! <li>With the JRMP connector (see <a href="http://mx4j.sourceforge.net/docs/bk01ch03s16.html">here</a> for more details about the setup of the mx4j implementation)</li> ! <li>With the IIOP connector (see <a href="http://mx4j.sourceforge.net/docs/bk01ch03s16.html">here</a> for more details about the setup of the mx4j implementation)</li> ! </ol> ! <p>Copy the mx4j-jmx.jar and mx4j-tools.jar (from MX4J distribution) into the lib/ext directory of the JMX Browser and launch the browser.</p> ! </entry> ! <entry type="question">Pramati Server 3.0</entry> ! <entry type="answer"> ! <p>This server has not been fully tested, and was put in stand by for license reasons.</p> ! </entry> ! <entry type="question">Tivoli TMX4J 2.1</entry> ! <entry type="answer"> ! <p>This implementation has not been fully tested, and was put in stand by for license reasons.</p> ! </entry> ! <entry type="question">Sun JDMK 1.1</entry> ! <entry type="answer"> ! <p>Well, this implementation has not been tested, but feedback is welcomed.</p> ! </entry> ! <entry type="question">Another application server or JMX implementation.</entry> ! <entry type="answer"> ! <p>Well, <a href="https://sourceforge.net/tracker/?group_id=49088&atid=455075">feeback</a> is welcomed if you don't see your favorite server or your favorite JMX implementation here.</p> ! </entry> ! </faq-section> ! <faq-section name="Swing Based JMX Browser : issues"> ! <entry type="question">When a MBean is unregistered, it doesn't disappear from the tree view ?</entry> ! <entry type="answer"> ! <p>You have to refresh the server view to make it disappears.</p> ! </entry> ! <entry type="question">What are the date format supported ?</entry> ! <entry type="answer"> ! <p>There are five formats supported :</p> ! <ul> ! <li>"yyyy-MM-dd HH:mm:ss z"</li> ! <li>"yyyy-MM-dd HH:mm:ss"</li> ! <li>"yyyy-MM-dd HH:mm"</li> ! <li>"yyMMdd HH:mm:ss"</li> ! <li>"yyMMdd HH:mm"</li> ! </ul> ! <p>If you need more formats, just fill a <a href="https://sourceforge.net/tracker/?group_id=49088&atid=455075">feature request</a>.</p> ! </entry> ! <entry type="question">How do I create an empty graph window ?</entry> ! <entry type="answer"> ! <p>You can't create an empty graph window. A window is created when you want to graph a numerical value.</p> ! </entry> ! <entry type="question">Can I plot numerical values from different servers in the same graph window ?</entry> ! <entry type="answer"> ! <p>Yes, it's possible. The graph window doesn't know about one or several servers. The fact is that the JMX connection name does'nt appear in the numerical value plotted, so if you have two numerical values from two different server with the same name, you won't see any difference except the color.</p> ! </entry> ! <entry type="question">How is choosed the color for a plotted numerical value ?</entry> ! <entry type="answer"> ! <p>It is a simple color rotation. If you think it must be enhanced, post a <a href="https://sourceforge.net/tracker/?group_id=49088&atid=455075">feature request</a>.</p> ! </entry> ! </faq-section> ! </faqs> ! </section> ! </body> ! </document> |
From: <let...@us...> - 2003-12-14 08:38:21
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/resources/org/ejtools/jmx/browser In directory sc8-pr-cvs1:/tmp/cvs-serv11709/jmx.browser/src/resources/org/ejtools/jmx/browser Modified Files: Resources.properties Resources_fr_FR.properties Log Message: Add more javadocs. Adjust some things. Index: Resources.properties =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/resources/org/ejtools/jmx/browser/Resources.properties,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Resources.properties 27 Nov 2003 01:13:08 -0000 1.3 --- Resources.properties 13 Dec 2003 22:15:08 -0000 1.4 *************** *** 72,75 **** --- 72,77 ---- file.dialog.title.load=Load Workspace file.dialog.title.save=Save Workspace + file.dialog.button.load=Load + file.dialog.button.save=Save Index: Resources_fr_FR.properties =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/resources/org/ejtools/jmx/browser/Resources_fr_FR.properties,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Resources_fr_FR.properties 27 Nov 2003 01:13:08 -0000 1.3 --- Resources_fr_FR.properties 13 Dec 2003 22:15:08 -0000 1.4 *************** *** 71,75 **** # Text for open/save dialog box file.dialog.title.load=Ouvrir Configuration ! file.dialog.title.save=Save Configuration --- 71,77 ---- # Text for open/save dialog box file.dialog.title.load=Ouvrir Configuration ! file.dialog.title.save=Sauver Configuration ! file.dialog.button.load=Ouvrir ! file.dialog.button.save=Sauver |
From: <let...@us...> - 2003-12-14 08:38:21
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/main/org/ejtools/jmx/browser/ui In directory sc8-pr-cvs1:/tmp/cvs-serv11709/jmx.browser/src/main/org/ejtools/jmx/browser/ui Modified Files: MBeanCustomizer.java Log Message: Add more javadocs. Adjust some things. Index: MBeanCustomizer.java =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/main/org/ejtools/jmx/browser/ui/MBeanCustomizer.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** MBeanCustomizer.java 27 Nov 2003 01:13:07 -0000 1.6 --- MBeanCustomizer.java 13 Dec 2003 22:15:07 -0000 1.7 *************** *** 1,938 **** ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at www.gnu.org. ! */ ! package org.ejtools.jmx.browser.ui; ! ! import java.awt.Color; ! import java.awt.Component; [...1847 lines suppressed...] ! Object oldValue = MBeanCustomizer.this.object.getAttribute(this.info.getName()); ! if (!newValue.equals(oldValue)) ! { ! MBeanCustomizer.this.object.setAttribute(attr); ! } ! } ! else ! { ! MBeanCustomizer.this.object.setAttribute(attr); ! } ! } ! } ! catch (Exception e) ! { ! e.printStackTrace(); ! } ! } ! } ! } ! } |
From: <let...@us...> - 2003-12-14 08:38:21
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/test/test/jmx/browser/mx4j In directory sc8-pr-cvs1:/tmp/cvs-serv11709/jmx.browser/src/test/test/jmx/browser/mx4j Added Files: RemotingClient.java RemotingServer.java Log Message: Add more javadocs. Adjust some things. --- NEW FILE: RemotingClient.java --- /* * Copyright (C) MX4J. * All rights reserved. * * This software is distributed under the terms of the MX4J License version 1.0. * See the terms of the MX4J License in the documentation provided with this software. */ package test.jmx.browser.mx4j; import javax.management.remote.JMXServiceURL; import javax.management.remote.JMXConnector; import javax.management.remote.JMXConnectorFactory; import javax.management.MBeanServerConnection; import javax.management.ObjectName; import javax.management.NotificationListener; import javax.management.Notification; /** * TODO: JAVADOCS on usage !!! * @author <a href="mailto:bio...@us...">Simone Bordet</a> * @version $Revision: 1.1 $ */ public class RemotingClient { public static void main(String[] args) throws Exception { JMXServiceURL url = new JMXServiceURL("rmi", "localhost", 0, "/jndi/jmx"); JMXConnector cntor = JMXConnectorFactory.connect(url, null); MBeanServerConnection connection = cntor.getMBeanServerConnection(); // The MBeanServerDelegate emits notifications about registration/unregistration of MBeans ObjectName delegateName = new ObjectName("JMImplementation:type=MBeanServerDelegate"); NotificationListener listener = new NotificationListener() { public void handleNotification(Notification notification, Object handback) { System.out.println(notification); } }; connection.addNotificationListener(delegateName, listener, null, null); } } --- NEW FILE: RemotingServer.java --- package test.jmx.browser.mx4j; import javax.management.MBeanServer; import javax.management.MBeanServerFactory; import javax.management.ObjectName; import javax.management.remote.JMXConnectorServer; import javax.management.remote.JMXConnectorServerFactory; import javax.management.remote.JMXServiceURL; import mx4j.tools.naming.NamingService; public class RemotingServer { public static void main(String[] args) throws Exception { JMXServiceURL url = new JMXServiceURL("rmi", "localhost", 0, "/jndi/jmx"); System.out.println("Path = "+url.toString()); JMXConnectorServer cntorServer = JMXConnectorServerFactory.newJMXConnectorServer(url, null, null); ObjectName cntorServerName = ObjectName.getInstance(":service=" + JMXConnectorServer.class.getName() + ",protocol=" + url.getProtocol()); MBeanServer server = MBeanServerFactory.createMBeanServer("remote.notification.example"); server.registerMBean(cntorServer, cntorServerName); NamingService naming = new NamingService(); ObjectName namingName = new ObjectName(":service=" + NamingService.class.getName()); server.registerMBean(naming, namingName); NamingService naming2 = new NamingService(); ObjectName namingName2 = new ObjectName(":type=" + NamingService.class.getName()); server.registerMBean(naming2, namingName2); naming.start(); cntorServer.start(); System.out.println("Server up and running"); } } |
From: <let...@us...> - 2003-12-14 08:38:21
|
Update of /cvsroot/ejtools/applications/jmx.browser/src/webapp/content In directory sc8-pr-cvs1:/tmp/cvs-serv11709/jmx.browser/src/webapp/content Modified Files: admin.xml help.xml invoke.xml notifications.xml style.css Log Message: Add more javadocs. Adjust some things. Index: admin.xml =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/webapp/content/admin.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** admin.xml 24 Oct 2002 22:39:16 -0000 1.10 --- admin.xml 13 Dec 2003 22:15:08 -0000 1.11 *************** *** 1,126 **** ! <?xml version="1.0" encoding="US-ASCII"?> ! <?xml-stylesheet type="text/xsl" href="style.xsl"?> ! <Page xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:app="/WEB-INF/application.tld" xmlns:ejtools="/WEB-INF/ejtools-taglib.tld" xmlns:bean="/WEB-INF/struts-bean.tld" xmlns:html="/WEB-INF/struts-html.tld" xmlns:logic="/WEB-INF/struts-logic.tld"> ! <Title> ! <bean:message key="web.title.admin"/> ! </Title> ! <Content> ! <!-- ======================================== --> ! <!-- Header --> ! <!-- ======================================== --> ! <TitleBlock> ! <Title> ! <bean:message key="web.title.admin"/> ! </Title> ! <Path> ! <Element> ! <html:link forward="home"> ! <bean:message key="web.title.index"/> ! </html:link> ! </Element> ! <Element> ! <bean:message key="web.title.admin"/> ! </Element> ! </Path> ! </TitleBlock> ! <!-- ======================================== --> ! <!-- Spacer --> ! <!-- ======================================== --> ! <Spacer/> ! <!-- ======================================== --> ! <!-- Header Block --> ! <!-- ======================================== --> ! <HeaderBlock> ! <html:form action="/register"> ! <table border="0" width="100%" cellspacing="0" cellpadding="3"> ! <tr> ! <td colspan="3"> ! <b> ! <bean:message key="web.text.register.mandatory"/> ! </b> ! </td> ! </tr> ! <tr> ! <td nowrap="true"> ! <bean:message key="web.label.register.objectName"/> ! </td> ! <td> ! <html:text property="objectName"/> ! </td> ! <td width="90%"> ! <bean:message key="web.text.register.objectName.nota"/> ! </td> ! </tr> ! <tr> ! <td nowrap="true"> ! <bean:message key="web.label.register.className"/> ! </td> ! <td> ! <html:text property="className"/> ! </td> ! <td width="90%"> ! <bean:message key="web.text.register.className.nota"/> ! </td> ! </tr> ! <tr> ! <td colspan="3"> ! <b> ! <bean:message key="web.text.register.optional"/> ! </b> ! </td> ! </tr> ! <tr> ! <td nowrap="true"> ! <bean:message key="web.label.register.classLoader"/> ! </td> ! <td> ! <html:text property="classLoader"/> ! </td> ! <td width="90%"> ! <bean:message key="web.text.register.classLoader.nota"/> ! </td> ! </tr> ! <tr> ! <td nowrap="true"> ! <bean:message key="web.label.register.parameters"/> ! </td> ! <td> ! <html:text property="parameters"/> ! </td> ! <td width="90%"> ! <bean:message key="web.text.register.parameters.nota"/> ! </td> ! </tr> ! <tr> ! <td nowrap="true"> ! <bean:message key="web.label.register.signature"/> ! </td> ! <td> ! <html:text property="signature"/> ! </td> ! <td width="90%"> ! <bean:message key="web.text.register.signature.nota"/> ! </td> ! </tr> ! </table> ! <center> ! <table border="0" cellspacing="0" cellpadding="3"> ! <tr align="center"> ! <td> ! <html:submit styleClass="button"> ! <bean:message key="web.button.register"/> ! </html:submit> ! </td> ! <td> ! <html:reset styleClass="button"> ! <bean:message key="web.button.cancel"/> ! </html:reset> ! </td> ! </tr> ! </table> ! </center> ! </html:form> ! </HeaderBlock> ! <html:errors/> ! </Content> ! </Page> --- 1,126 ---- ! <?xml version="1.0" encoding="US-ASCII"?> ! <?xml-stylesheet type="text/xsl" href="style.xsl"?> ! <Page xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:app="/WEB-INF/application.tld" xmlns:ejtools="/WEB-INF/ejtools-taglib.tld" xmlns:bean="/WEB-INF/struts-bean.tld" xmlns:html="/WEB-INF/struts-html.tld" xmlns:logic="/WEB-INF/struts-logic.tld"> ! <Title> ! <bean:message key="web.title.admin"/> ! </Title> ! <Content> ! <!-- ======================================== --> ! <!-- Header --> ! <!-- ======================================== --> ! <TitleBlock> ! <Title> ! <bean:message key="web.title.admin"/> ! </Title> ! <Path> ! <Element> ! <html:link forward="home"> ! <bean:message key="web.title.index"/> ! </html:link> ! </Element> ! <Element> ! <bean:message key="web.title.admin"/> ! </Element> ! </Path> ! </TitleBlock> ! <!-- ======================================== --> ! <!-- Spacer --> ! <!-- ======================================== --> ! <Spacer/> ! <!-- ======================================== --> ! <!-- Header Block --> ! <!-- ======================================== --> ! <HeaderBlock> ! <html:form action="/register"> ! <table border="0" width="100%" cellspacing="0" cellpadding="3"> ! <tr> ! <td colspan="3"> ! <b> ! <bean:message key="web.text.register.mandatory"/> ! </b> ! </td> ! </tr> ! <tr> ! <td nowrap="true"> ! <bean:message key="web.label.register.objectName"/> ! </td> ! <td> ! <html:text property="objectName"/> ! </td> ! <td width="90%"> ! <bean:message key="web.text.register.objectName.nota"/> ! </td> ! </tr> ! <tr> ! <td nowrap="true"> ! <bean:message key="web.label.register.className"/> ! </td> ! <td> ! <html:text property="className"/> ! </td> ! <td width="90%"> ! <bean:message key="web.text.register.className.nota"/> ! </td> ! </tr> ! <tr> ! <td colspan="3"> ! <b> ! <bean:message key="web.text.register.optional"/> ! </b> ! </td> ! </tr> ! <tr> ! <td nowrap="true"> ! <bean:message key="web.label.register.classLoader"/> ! </td> ! <td> ! <html:text property="classLoader"/> ! </td> ! <td width="90%"> ! <bean:message key="web.text.register.classLoader.nota"/> ! </td> ! </tr> ! <tr> ! <td nowrap="true"> ! <bean:message key="web.label.register.parameters"/> ! </td> ! <td> ! <html:text property="parameters"/> ! </td> ! <td width="90%"> ! <bean:message key="web.text.register.parameters.nota"/> ! </td> ! </tr> ! <tr> ! <td nowrap="true"> ! <bean:message key="web.label.register.signature"/> ! </td> ! <td> ! <html:text property="signature"/> ! </td> ! <td width="90%"> ! <bean:message key="web.text.register.signature.nota"/> ! </td> ! </tr> ! </table> ! <center> ! <table border="0" cellspacing="0" cellpadding="3"> ! <tr align="center"> ! <td> ! <html:submit styleClass="button"> ! <bean:message key="web.button.register"/> ! </html:submit> ! </td> ! <td> ! <html:reset styleClass="button"> ! <bean:message key="web.button.cancel"/> ! </html:reset> ! </td> ! </tr> ! </table> ! </center> ! </html:form> ! </HeaderBlock> ! <html:errors/> ! </Content> ! </Page> Index: help.xml =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/webapp/content/help.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** help.xml 24 Oct 2002 22:39:16 -0000 1.4 --- help.xml 13 Dec 2003 22:15:08 -0000 1.5 *************** *** 1,55 **** ! <?xml version="1.0" encoding="US-ASCII"?> ! <?xml-stylesheet type="text/xsl" href="style.xsl"?> ! <Page xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:app="/WEB-INF/application.tld" xmlns:ejtools="/WEB-INF/ejtools-taglib.tld" xmlns:bean="/WEB-INF/struts-bean.tld" xmlns:html="/WEB-INF/struts-html.tld" xmlns:logic="/WEB-INF/struts-logic.tld"> ! <Title> ! <bean:message key="web.title.help"/> ! </Title> ! <Content> ! <!-- ======================================== --> ! <!-- Header --> ! <!-- ======================================== --> ! <TitleBlock> ! <Title> ! <bean:message key="web.title.help"/> ! </Title> ! <Path> ! <Element> ! <html:link forward="home"> ! <bean:message key="web.title.index"/> ! </html:link> ! </Element> ! <Element> ! <bean:message key="web.title.help"/> ! </Element> ! </Path> ! </TitleBlock> ! <!-- ======================================== --> ! <!-- Spacer --> ! <!-- ======================================== --> ! <Spacer/> ! <!-- ======================================== --> ! <!-- Content Block --> ! <!-- ======================================== --> ! <ContentBlock> ! <b> ! <bean:message key="web.help.title.whatisview"/> ! </b> ! <jsp:text><br></jsp:text> ! <bean:message key="web.help.content.whatisview"/> ! </ContentBlock> ! <!-- ======================================== --> ! <!-- Spacer --> ! <!-- ======================================== --> ! <Spacer/> ! <!-- ======================================== --> ! <!-- Content Block --> ! <!-- ======================================== --> ! <ContentBlock> ! <b> ! <bean:message key="web.help.title.howtohaveview"/> ! </b> ! <jsp:text><br></jsp:text> ! <bean:message key="web.help.content.howtohaveview"/> ! </ContentBlock> ! </Content> ! </Page> --- 1,55 ---- ! <?xml version="1.0" encoding="US-ASCII"?> ! <?xml-stylesheet type="text/xsl" href="style.xsl"?> ! <Page xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:app="/WEB-INF/application.tld" xmlns:ejtools="/WEB-INF/ejtools-taglib.tld" xmlns:bean="/WEB-INF/struts-bean.tld" xmlns:html="/WEB-INF/struts-html.tld" xmlns:logic="/WEB-INF/struts-logic.tld"> ! <Title> ! <bean:message key="web.title.help"/> ! </Title> ! <Content> ! <!-- ======================================== --> ! <!-- Header --> ! <!-- ======================================== --> ! <TitleBlock> ! <Title> ! <bean:message key="web.title.help"/> ! </Title> ! <Path> ! <Element> ! <html:link forward="home"> ! <bean:message key="web.title.index"/> ! </html:link> ! </Element> ! <Element> ! <bean:message key="web.title.help"/> ! </Element> ! </Path> ! </TitleBlock> ! <!-- ======================================== --> ! <!-- Spacer --> ! <!-- ======================================== --> ! <Spacer/> ! <!-- ======================================== --> ! <!-- Content Block --> ! <!-- ======================================== --> ! <ContentBlock> ! <b> ! <bean:message key="web.help.title.whatisview"/> ! </b> ! <jsp:text><br></jsp:text> ! <bean:message key="web.help.content.whatisview"/> ! </ContentBlock> ! <!-- ======================================== --> ! <!-- Spacer --> ! <!-- ======================================== --> ! <Spacer/> ! <!-- ======================================== --> ! <!-- Content Block --> ! <!-- ======================================== --> ! <ContentBlock> ! <b> ! <bean:message key="web.help.title.howtohaveview"/> ! </b> ! <jsp:text><br></jsp:text> ! <bean:message key="web.help.content.howtohaveview"/> ! </ContentBlock> ! </Content> ! </Page> Index: invoke.xml =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/webapp/content/invoke.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** invoke.xml 24 Oct 2002 22:39:16 -0000 1.7 --- invoke.xml 13 Dec 2003 22:15:08 -0000 1.8 *************** *** 1,103 **** ! <?xml version="1.0" encoding="US-ASCII"?> ! <?xml-stylesheet type="text/xsl" href="style.xsl"?> ! <Page xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:app="/WEB-INF/application.tld" xmlns:ejtools="/WEB-INF/ejtools-taglib.tld" xmlns:bean="/WEB-INF/struts-bean.tld" xmlns:html="/WEB-INF/struts-html.tld" xmlns:logic="/WEB-INF/struts-logic.tld"> ! <Title> ! <bean:message key="web.title.invocation"/> ! </Title> ! <Content> ! <!-- ======================================== --> ! <!-- Header --> ! <!-- ======================================== --> ! <TitleBlock> ! <Title> ! <bean:message key="web.title.invocation"/> ! </Title> ! <Path> ! <Element> ! <html:link forward="home"> ! <bean:message key="web.title.index"/> ! </html:link> ! </Element> ! <Element> ! <logic:equal parameter="from" value="detail"> ! <html:link page="/detail.do" paramId="reference" paramName="detail" paramProperty="name"> ! <bean:message key="web.title.detail"/> ! </html:link> ! </logic:equal> ! <logic:equal parameter="from" value="customview"> ! <html:link page="/customview.do" paramId="view" paramName="custom.view.index"> ! <bean:message key="web.title.customview"/> ! </html:link> ! </logic:equal> ! </Element> ! <Element> ! <bean:message key="web.title.invocation"/> ! </Element> ! </Path> ! </TitleBlock> ! <!-- ======================================== --> ! <!-- Spacer --> ! <!-- ======================================== --> ! <Spacer/> ! <!-- ======================================== --> ! <!-- Header Block --> ! <!-- ======================================== --> ! <HeaderBlock> ! <table border="0" width="100%" cellspacing="0" cellpadding="3"> ! <tr> ! <td align="right" nowrap="true"> ! <b> ! <bean:message key="web.label.mbean.domain"/> ! </b> ! </td> ! <td align="left" width="90%"> ! <bean:write name="detail" property="domain"/> ! </td> ! </tr> ! <tr> ! <td align="right" nowrap="true"> ! <b> ! <bean:message key="web.label.mbean.name"/> ! </b> ! </td> ! <td align="left" width="90%"> ! <bean:write name="detail" property="name"/> ! </td> ! </tr> ! <tr> ! <td align="right" nowrap="true"> ! <b> ! <bean:message key="web.label.operation.name"/> ! </b> ! </td> ! <td align="left" width="90%"> ! <bean:write name="operation.name"/> ! </td> ! </tr> ! <tr> ! <td align="right" nowrap="true"> ! <b> ! <bean:message key="web.label.operation.type"/> ! </b> ! </td> ! <td align="left" width="90%"> ! <bean:write name="operation.type"/> ! </td> ! </tr> ! </table> ! </HeaderBlock> ! <!-- ======================================== --> ! <!-- Errors --> ! <!-- ======================================== --> ! <html:errors/> ! <logic:present name="invoke.result"> ! <!-- ======================================== --> ! <!-- Spacer --> ! <!-- ======================================== --> ! <Spacer/> ! <ContentBlock> ! <app:mbeanResultEditor name="invoke.result" filter="false"/> ! </ContentBlock> ! </logic:present> ! </Content> ! </Page> --- 1,103 ---- ! <?xml version="1.0" encoding="US-ASCII"?> ! <?xml-stylesheet type="text/xsl" href="style.xsl"?> ! <Page xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:app="/WEB-INF/application.tld" xmlns:ejtools="/WEB-INF/ejtools-taglib.tld" xmlns:bean="/WEB-INF/struts-bean.tld" xmlns:html="/WEB-INF/struts-html.tld" xmlns:logic="/WEB-INF/struts-logic.tld"> ! <Title> ! <bean:message key="web.title.invocation"/> ! </Title> ! <Content> ! <!-- ======================================== --> ! <!-- Header --> ! <!-- ======================================== --> ! <TitleBlock> ! <Title> ! <bean:message key="web.title.invocation"/> ! </Title> ! <Path> ! <Element> ! <html:link forward="home"> ! <bean:message key="web.title.index"/> ! </html:link> ! </Element> ! <Element> ! <logic:equal parameter="from" value="detail"> ! <html:link page="/detail.do" paramId="reference" paramName="detail" paramProperty="name"> ! <bean:message key="web.title.detail"/> ! </html:link> ! </logic:equal> ! <logic:equal parameter="from" value="customview"> ! <html:link page="/customview.do" paramId="view" paramName="custom.view.index"> ! <bean:message key="web.title.customview"/> ! </html:link> ! </logic:equal> ! </Element> ! <Element> ! <bean:message key="web.title.invocation"/> ! </Element> ! </Path> ! </TitleBlock> ! <!-- ======================================== --> ! <!-- Spacer --> ! <!-- ======================================== --> ! <Spacer/> ! <!-- ======================================== --> ! <!-- Header Block --> ! <!-- ======================================== --> ! <HeaderBlock> ! <table border="0" width="100%" cellspacing="0" cellpadding="3"> ! <tr> ! <td align="right" nowrap="true"> ! <b> ! <bean:message key="web.label.mbean.domain"/> ! </b> ! </td> ! <td align="left" width="90%"> ! <bean:write name="detail" property="domain"/> ! </td> ! </tr> ! <tr> ! <td align="right" nowrap="true"> ! <b> ! <bean:message key="web.label.mbean.name"/> ! </b> ! </td> ! <td align="left" width="90%"> ! <bean:write name="detail" property="name"/> ! </td> ! </tr> ! <tr> ! <td align="right" nowrap="true"> ! <b> ! <bean:message key="web.label.operation.name"/> ! </b> ! </td> ! <td align="left" width="90%"> ! <bean:write name="operation.name"/> ! </td> ! </tr> ! <tr> ! <td align="right" nowrap="true"> ! <b> ! <bean:message key="web.label.operation.type"/> ! </b> ! </td> ! <td align="left" width="90%"> ! <bean:write name="operation.type"/> ! </td> ! </tr> ! </table> ! </HeaderBlock> ! <!-- ======================================== --> ! <!-- Errors --> ! <!-- ======================================== --> ! <html:errors/> ! <logic:present name="invoke.result"> ! <!-- ======================================== --> ! <!-- Spacer --> ! <!-- ======================================== --> ! <Spacer/> ! <ContentBlock> ! <app:mbeanResultEditor name="invoke.result" filter="false"/> ! </ContentBlock> ! </logic:present> ! </Content> ! </Page> Index: notifications.xml =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/webapp/content/notifications.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** notifications.xml 24 Oct 2002 22:39:16 -0000 1.4 --- notifications.xml 13 Dec 2003 22:15:08 -0000 1.5 *************** *** 1,121 **** ! <?xml version="1.0" encoding="US-ASCII"?> ! <?xml-stylesheet type="text/xsl" href="style.xsl"?> ! <Page xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:app="/WEB-INF/application.tld" xmlns:ejtools="/WEB-INF/ejtools-taglib.tld" xmlns:bean="/WEB-INF/struts-bean.tld" xmlns:html="/WEB-INF/struts-html.tld" xmlns:logic="/WEB-INF/struts-logic.tld"> ! <Title> ! <bean:message key="web.title.notifications"/> ! </Title> ! <Content> ! <!-- ======================================== --> ! <!-- Header --> ! <!-- ======================================== --> ! <TitleBlock> ! <Title> ! <bean:message key="web.title.notifications"/> ! </Title> ! <Path> ! <Element> ! <html:link forward="home"> ! <bean:message key="web.title.index"/> ! </html:link> ! </Element> ! <Element> ! <bean:message key="web.title.notifications"/> ! </Element> ! </Path> ! </TitleBlock> ! <!-- ======================================== --> ! <!-- Spacer --> ! <!-- ======================================== --> ! <Spacer/> ! <!-- ======================================== --> ! <!-- Page Iteration --> ! <!-- ======================================== --> ! <bean:size name="tree" property="notifications" id="notificationsSize"/> ! <ejtools:requestParameter id="currentPage" name="page" type="java.lang.Integer" value="0"/> ! <ejtools:requestParameter id="prevPage" name="page" type="java.lang.Integer" value="0"/> ! <ejtools:requestParameter id="nextPage" name="page" type="java.lang.Integer" value="0"/> ! <ejtools:computePage current="currentPage" size="notificationsSize" length="25" id="startIndex" offset="0"/> ! <ejtools:computePage current="prevPage" size="notificationsSize" length="25" id="prevIndex" offset="-1"/> ! <ejtools:computePage current="nextPage" size="notificationsSize" length="25" id="nextIndex" offset="1"/> ! <table align="center"> ! <tr> ! <td width="33%" align="right"> ! <ejtools:previousPage current="currentPage" size="notificationsSize" length="25"> ! <html:link page="/view-notifications.do" paramId="page" paramName="prevPage"> ! <bean:message key="web.text.previouspage"/> ! </html:link> ! </ejtools:previousPage> ! </td> ! <td width="34%" align="center"> ! <ejtools:currentPage current="currentPage" size="notificationsSize" length="25"/> ! </td> ! <td width="33%" align="left"> ! <ejtools:nextPage current="currentPage" size="notificationsSize" length="25"> ! <html:link page="/view-notifications.do" paramId="page" paramName="nextPage"> ! <bean:message key="web.text.nextpage"/> ! </html:link> ! </ejtools:nextPage> ! </td> ! </tr> ! </table> ! <!-- ======================================== --> ! <!-- Spacer --> ! <!-- ======================================== --> ! <Spacer/> ! <!-- ======================================== --> ! <!-- Events --> ! <!-- ======================================== --> ! <EventsBlock> ! <!-- ======================================== --> ! <!-- List --> ! <!-- ======================================== --> ! <logic:iterate name="tree" property="notifications" id="event" type="javax.management.Notification" offset="startIndex" length="25"> ! <Event> ! <EventSource> ! <bean:write name="event" property="source"/> ! </EventSource> ! <EventTimeStamp> ! <bean:write name="event" property="timeStamp"/> ! </EventTimeStamp> ! <EventSequence> ! <bean:write name="event" property="sequenceNumber"/> ! </EventSequence> ! <EventType> ! <bean:write name="event" property="type"/> ! </EventType> ! <EventMessage> ! <bean:write name="event" property="message"/> ! </EventMessage> ! </Event> ! </logic:iterate> ! </EventsBlock> ! <!-- ======================================== --> ! <!-- Spacer --> ! <!-- ======================================== --> ! <Spacer/> ! <!-- ======================================== --> ! <!-- Page Iteration --> ! <!-- ======================================== --> ! <table align="center"> ! <tr> ! <td width="33%" align="right"> ! <ejtools:previousPage current="currentPage" size="notificationsSize" length="25"> ! <html:link page="/view-notifications.do" paramId="page" paramName="prevPage"> ! <bean:message key="web.text.previouspage"/> ! </html:link> ! </ejtools:previousPage> ! </td> ! <td width="34%" align="center"> ! <ejtools:currentPage current="currentPage" size="notificationsSize" length="25"/> ! </td> ! <td width="33%" align="left"> ! <ejtools:nextPage current="currentPage" size="notificationsSize" length="25"> ! <html:link page="/view-notifications.do" paramId="page" paramName="nextPage"> ! <bean:message key="web.text.nextpage"/> ! </html:link> ! </ejtools:nextPage> ! </td> ! </tr> ! </table> ! </Content> ! </Page> --- 1,121 ---- ! <?xml version="1.0" encoding="US-ASCII"?> ! <?xml-stylesheet type="text/xsl" href="style.xsl"?> ! <Page xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:app="/WEB-INF/application.tld" xmlns:ejtools="/WEB-INF/ejtools-taglib.tld" xmlns:bean="/WEB-INF/struts-bean.tld" xmlns:html="/WEB-INF/struts-html.tld" xmlns:logic="/WEB-INF/struts-logic.tld"> ! <Title> ! <bean:message key="web.title.notifications"/> ! </Title> ! <Content> ! <!-- ======================================== --> ! <!-- Header --> ! <!-- ======================================== --> ! <TitleBlock> ! <Title> ! <bean:message key="web.title.notifications"/> ! </Title> ! <Path> ! <Element> ! <html:link forward="home"> ! <bean:message key="web.title.index"/> ! </html:link> ! </Element> ! <Element> ! <bean:message key="web.title.notifications"/> ! </Element> ! </Path> ! </TitleBlock> ! <!-- ======================================== --> ! <!-- Spacer --> ! <!-- ======================================== --> ! <Spacer/> ! <!-- ======================================== --> ! <!-- Page Iteration --> ! <!-- ======================================== --> ! <bean:size name="tree" property="notifications" id="notificationsSize"/> ! <ejtools:requestParameter id="currentPage" name="page" type="java.lang.Integer" value="0"/> ! <ejtools:requestParameter id="prevPage" name="page" type="java.lang.Integer" value="0"/> ! <ejtools:requestParameter id="nextPage" name="page" type="java.lang.Integer" value="0"/> ! <ejtools:computePage current="currentPage" size="notificationsSize" length="25" id="startIndex" offset="0"/> ! <ejtools:computePage current="prevPage" size="notificationsSize" length="25" id="prevIndex" offset="-1"/> ! <ejtools:computePage current="nextPage" size="notificationsSize" length="25" id="nextIndex" offset="1"/> ! <table align="center"> ! <tr> ! <td width="33%" align="right"> ! <ejtools:previousPage current="currentPage" size="notificationsSize" length="25"> ! <html:link page="/view-notifications.do" paramId="page" paramName="prevPage"> ! <bean:message key="web.text.previouspage"/> ! </html:link> ! </ejtools:previousPage> ! </td> ! <td width="34%" align="center"> ! <ejtools:currentPage current="currentPage" size="notificationsSize" length="25"/> ! </td> ! <td width="33%" align="left"> ! <ejtools:nextPage current="currentPage" size="notificationsSize" length="25"> ! <html:link page="/view-notifications.do" paramId="page" paramName="nextPage"> ! <bean:message key="web.text.nextpage"/> ! </html:link> ! </ejtools:nextPage> ! </td> ! </tr> ! </table> ! <!-- ======================================== --> ! <!-- Spacer --> ! <!-- ======================================== --> ! <Spacer/> ! <!-- ======================================== --> ! <!-- Events --> ! <!-- ======================================== --> ! <EventsBlock> ! <!-- ======================================== --> ! <!-- List --> ! <!-- ======================================== --> ! <logic:iterate name="tree" property="notifications" id="event" type="javax.management.Notification" offset="startIndex" length="25"> ! <Event> ! <EventSource> ! <bean:write name="event" property="source"/> ! </EventSource> ! <EventTimeStamp> ! <bean:write name="event" property="timeStamp"/> ! </EventTimeStamp> ! <EventSequence> ! <bean:write name="event" property="sequenceNumber"/> ! </EventSequence> ! <EventType> ! <bean:write name="event" property="type"/> ! </EventType> ! <EventMessage> ! <bean:write name="event" property="message"/> ! </EventMessage> ! </Event> ! </logic:iterate> ! </EventsBlock> ! <!-- ======================================== --> ! <!-- Spacer --> ! <!-- ======================================== --> ! <Spacer/> ! <!-- ======================================== --> ! <!-- Page Iteration --> ! <!-- ======================================== --> ! <table align="center"> ! <tr> ! <td width="33%" align="right"> ! <ejtools:previousPage current="currentPage" size="notificationsSize" length="25"> ! <html:link page="/view-notifications.do" paramId="page" paramName="prevPage"> ! <bean:message key="web.text.previouspage"/> ! </html:link> ! </ejtools:previousPage> ! </td> ! <td width="34%" align="center"> ! <ejtools:currentPage current="currentPage" size="notificationsSize" length="25"/> ! </td> ! <td width="33%" align="left"> ! <ejtools:nextPage current="currentPage" size="notificationsSize" length="25"> ! <html:link page="/view-notifications.do" paramId="page" paramName="nextPage"> ! <bean:message key="web.text.nextpage"/> ! </html:link> ! </ejtools:nextPage> ! </td> ! </tr> ! </table> ! </Content> ! </Page> Index: style.css =================================================================== RCS file: /cvsroot/ejtools/applications/jmx.browser/src/webapp/content/style.css,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** style.css 13 Jun 2002 20:28:46 -0000 1.3 --- style.css 13 Dec 2003 22:15:08 -0000 1.4 *************** *** 1,82 **** ! a:link ! { ! font-family: Arial, Times New Roman, Times; ! font-size: 10 pt; ! text-decoration: none; ! color: blue; ! } ! a:visited ! { ! font-family: Arial, Times New Roman, Times; ! font-size: 10 pt; ! text-decoration: none; ! color: blue; ! } ! a:active ! { ! font-family: Arial, Times New Roman, Times; ! font-size: 10 pt; ! text-decoration: none; ! color: blue; ! } ! a:hover ! { ! color: #000099; ! text-decoration: underline; ! } ! body, td ! { ! font-family: Arial, 'Times New Roman', Times; ! font-size: 10 pt; ! } ! ! .tableHeader ! { ! font-family: Verdana, Arial, Helvetica; ! font-size: 10 pt; ! font-weight: bold; ! background-color: #909090; ! color: #FFFFFF; ! } ! ! .tableHeader2 ! { ! font-family: Verdana, Arial, Helvetica; ! font-size: 10 pt; ! font-weight: bold; ! background-color: #DDDDDD; ! color: #000000; ! } ! ! .attributeName ! { ! font-family: Arial, Times New Roman, Times; ! font-size: 10 pt; ! font-style: italic; ! } ! ! .selectedText ! { ! font-family: Arial, Times New Roman, Times; ! font-weight: bold; ! font-size: 10 pt; ! } ! ! .attributeValue, .methodName, .methodArguments, .cellText ! { ! font-family: Arial, Times New Roman, Times; ! font-size: 10 pt; ! } ! ! .tree-content, .tree-content:a:link, .tree-content:a:visited, .tree-content:a:active ! { ! font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; ! font-size: 11px; ! } ! ! .button ! { ! background-color: #909090; ! color: rgb(255,255,255); ! font-weight: bold; } --- 1,82 ---- ! a:link ! { ! font-family: Arial, Times New Roman, Times; ! font-size: 10 pt; ! text-decoration: none; ! color: blue; ! } ! a:visited ! { ! font-family: Arial, Times New Roman, Times; ! font-size: 10 pt; ! text-decoration: none; ! color: blue; ! } ! a:active ! { ! font-family: Arial, Times New Roman, Times; ! font-size: 10 pt; ! text-decoration: none; ! color: blue; ! } ! a:hover ! { ! color: #000099; ! text-decoration: underline; ! } ! body, td ! { ! font-family: Arial, 'Times New Roman', Times; ! font-size: 10 pt; ! } ! ! .tableHeader ! { ! font-family: Verdana, Arial, Helvetica; ! font-size: 10 pt; ! font-weight: bold; ! background-color: #909090; ! color: #FFFFFF; ! } ! ! .tableHeader2 ! { ! font-family: Verdana, Arial, Helvetica; ! font-size: 10 pt; ! font-weight: bold; ! background-color: #DDDDDD; ! color: #000000; ! } ! ! .attributeName ! { ! font-family: Arial, Times New Roman, Times; ! font-size: 10 pt; ! font-style: italic; ! } ! ! .selectedText ! { ! font-family: Arial, Times New Roman, Times; ! font-weight: bold; ! font-size: 10 pt; ! } ! ! .attributeValue, .methodName, .methodArguments, .cellText ! { ! font-family: Arial, Times New Roman, Times; ! font-size: 10 pt; ! } ! ! .tree-content, .tree-content:a:link, .tree-content:a:visited, .tree-content:a:active ! { ! font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; ! font-size: 11px; ! } ! ! .button ! { ! background-color: #909090; ! color: rgb(255,255,255); ! font-weight: bold; } |
From: <pch...@ma...> - 2003-11-27 06:05:32
|
I will be out of the office starting 11/21/2003 and will not return until 12/23/2003. I will respond to your message when I return. |
Update of /cvsroot/ejtools/applications/management.browser/src/resources/org/ejtools/management/browser In directory sc8-pr-cvs1:/tmp/cvs-serv18798/management.browser/src/resources/org/ejtools/management/browser Modified Files: Icons.properties Resources.properties Resources_fr_FR.properties Log Message: Address Todo #800902 Address Todo #755528 Index: Icons.properties =================================================================== RCS file: /cvsroot/ejtools/applications/management.browser/src/resources/org/ejtools/management/browser/Icons.properties,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Icons.properties 8 Mar 2003 20:52:11 -0000 1.2 --- Icons.properties 27 Nov 2003 01:39:48 -0000 1.3 *************** *** 31,35 **** URLResource=/toolbarButtonGraphics/development/URLResource16.gif ! J2EEDomain=/toolbarButtonGraphics/development/J2EEDomain16.gif ! JVM=/toolbarButtonGraphics/development/JVM16.gif --- 31,35 ---- URLResource=/toolbarButtonGraphics/development/URLResource16.gif ! J2EEDomain=/toolbarButtonGraphics/development/J2EEDomain16.gif ! JVM=/toolbarButtonGraphics/development/JVM16.gif Index: Resources.properties =================================================================== RCS file: /cvsroot/ejtools/applications/management.browser/src/resources/org/ejtools/management/browser/Resources.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Resources.properties 21 Feb 2003 22:23:02 -0000 1.1 --- Resources.properties 27 Nov 2003 01:39:48 -0000 1.2 *************** *** 1,105 **** ! # ------------------------------------------------------------ ! # ! # EJTools, the Enterprise Java Tools ! # ! # Distributable under LGPL license. ! # See terms of license at www.gnu.org. ! # ! # Feedback and support at http://sourceforge.net/project/ejtools ! # ! # ------------------------------------------------------------ ! ! # Title for Frame, Dialog, etc ! application.title=EJTools Management Browser ! ! ! # About dialog box ! about.dialog.title=About Management Browser ! about.dialog.text.application=The Enterprise Java Tools ! about.dialog.text.javaVersion=Java Version ! about.dialog.text.virtualMachine=Virtual Machine ! ! ! # Connection dialog box ! connection.dialog.title=Connect to a server ! connection.dialog.text.description=Choose a connection profile ! connection.text.untitled=Untitled ! connection.text.prefix=Connection ! ! ! # Notification related text ! notification.text.prefix=Notifications ! notification.table.column.message=Message ! notification.table.column.sequence=Sequence ! notification.table.column.source=Source ! notification.table.column.timestamp=TimeStamp ! notification.table.column.type=Type ! ! ! # Text for customizers ! customizer.tab.detail.title=Managed Object ! customizer.tab.detail.text.mo.name=Name ! customizer.tab.detail.text.mo.type=J2EE Type ! customizer.tab.detail.text.mo.state.manageable=State Manageable ! customizer.tab.detail.text.mo.event.provider=Event Provider ! customizer.tab.detail.text.mo.statistics.provider=Statistics Provider ! customizer.tab.detail.text.class.name=Class Name ! customizer.tab.detail.text.class.description=Description ! customizer.tab.detail.text.unloadable.class=Unloadable Class ! customizer.tab.detail.text.attributes=Attributes ! customizer.tab.detail.text.operations=Operations ! customizer.tab.detail.tooltip.mo.name=Name of the Managed Obect ! customizer.tab.detail.tooltip.mo.type=J2EE type of the Managed Obect ! customizer.tab.detail.tooltip.mo.state.manageable=True if the Managed Object is State Manageable ! customizer.tab.detail.tooltip.mo.event.provider=True if the Managed Object is Event Provider ! customizer.tab.detail.tooltip.mo.statistics.provider=True if the Managed Object is Statistics Provider ! customizer.tab.detail.tooltip.class.name=Class Name of the MBean ! customizer.tab.detail.tooltip.class.description=Description of the MBean ! customizer.tab.detail.tooltip.unloadable.class=The class is not found ! customizer.tab.detail.button.refresh=Refresh ! customizer.tab.detail.button.update=Update ! customizer.tab.detail.button.invoke=Invoke ! ! customizer.tab.events.title=Events ! customizer.tab.events.text.event.types=Event Types ! customizer.tab.events.tooltip.event.types=Event Types provided by the Managed Object ! customizer.tab.events.button.listen=Start listening ! customizer.tab.events.button.unlisten=Stop listening ! ! customizer.tab.statistics.title=Statistics ! customizer.tab.statistics.text.description=Description ! customizer.tab.statistics.text.start.time=Start Time ! customizer.tab.statistics.text.last.sample.time=Last Sample Time ! customizer.tab.statistics.text.count=Count ! customizer.tab.statistics.text.current=Current ! customizer.tab.statistics.text.lower.bound=Lower Bound ! customizer.tab.statistics.text.upper.bound=Upper Bound ! customizer.tab.statistics.text.highwater.mark=High Water Mark ! customizer.tab.statistics.text.lowwater.mark=Low Water Mark ! customizer.tab.statistics.text.min.time=Min Time ! customizer.tab.statistics.text.max.time=Max Time ! customizer.tab.statistics.text.total.time=Total Time ! ! customizer.tab.statistics.tooltip.description=Description of the statistic ! customizer.tab.statistics.tooltip.start.time=Start time of the statistic ! customizer.tab.statistics.tooltip.last.sample.time=Last sample time of the statistic ! customizer.tab.statistics.tooltip.count=Number of occurences ! customizer.tab.statistics.tooltip.current=Current value ! customizer.tab.statistics.tooltip.lower.bound=Lower value reachable ! customizer.tab.statistics.tooltip.upper.bound=Higher value reachable ! customizer.tab.statistics.tooltip.highwater.mark=Higher value reached ! customizer.tab.statistics.tooltip.lowwater.mark=Lower value reached ! customizer.tab.statistics.tooltip.min.time=Minimum time taken by the operation ! customizer.tab.statistics.tooltip.max.time=Maximum time taken by the operation ! customizer.tab.statistics.tooltip.total.time=Total time taken by the operation ! ! customizer.tab.statistics.button.refresh=Refresh ! customizer.tab.statistics.button.graph=Graph ! ! ! # Text for menus and buttons ! action.view=View ! action.view.mnemonic=86 ! ! action.view.notifications=View Notifications ! action.view.notifications.tooltip=View the notifications received --- 1,111 ---- ! # ------------------------------------------------------------ ! # ! # EJTools, the Enterprise Java Tools ! # ! # Distributable under LGPL license. ! # See terms of license at www.gnu.org. ! # ! # Feedback and support at http://sourceforge.net/project/ejtools ! # ! # ------------------------------------------------------------ ! ! # Title for Frame, Dialog, etc ! application.title=EJTools Management Browser ! ! ! # About dialog box ! about.dialog.title=About Management Browser ! about.dialog.text.application=The Enterprise Java Tools ! about.dialog.text.javaVersion=Java Version ! about.dialog.text.virtualMachine=Virtual Machine ! about.dialog.text.lookAndFeel=Look And Feel ! ! ! # Connection dialog box ! connection.dialog.title=Connect to a server ! connection.dialog.text.description=Choose a connection profile ! connection.text.untitled=Untitled ! connection.text.prefix=Connection ! ! ! # Notification related text ! notification.text.prefix=Notifications ! notification.table.column.message=Message ! notification.table.column.sequence=Sequence ! notification.table.column.source=Source ! notification.table.column.timestamp=TimeStamp ! notification.table.column.type=Type ! ! ! # Text for customizers ! customizer.tab.detail.title=Managed Object ! customizer.tab.detail.text.mo.name=Name ! customizer.tab.detail.text.mo.type=J2EE Type ! customizer.tab.detail.text.mo.state.manageable=State Manageable ! customizer.tab.detail.text.mo.event.provider=Event Provider ! customizer.tab.detail.text.mo.statistics.provider=Statistics Provider ! customizer.tab.detail.text.class.name=Class Name ! customizer.tab.detail.text.class.description=Description ! customizer.tab.detail.text.unloadable.class=Unloadable Class ! customizer.tab.detail.text.attributes=Attributes ! customizer.tab.detail.text.operations=Operations ! customizer.tab.detail.tooltip.mo.name=Name of the Managed Obect ! customizer.tab.detail.tooltip.mo.type=J2EE type of the Managed Obect ! customizer.tab.detail.tooltip.mo.state.manageable=True if the Managed Object is State Manageable ! customizer.tab.detail.tooltip.mo.event.provider=True if the Managed Object is Event Provider ! customizer.tab.detail.tooltip.mo.statistics.provider=True if the Managed Object is Statistics Provider ! customizer.tab.detail.tooltip.class.name=Class Name of the MBean ! customizer.tab.detail.tooltip.class.description=Description of the MBean ! customizer.tab.detail.tooltip.unloadable.class=The class is not found ! customizer.tab.detail.button.refresh=Refresh ! customizer.tab.detail.button.update=Update ! customizer.tab.detail.button.invoke=Invoke ! ! customizer.tab.events.title=Events ! customizer.tab.events.text.event.types=Event Types ! customizer.tab.events.tooltip.event.types=Event Types provided by the Managed Object ! customizer.tab.events.button.listen=Start listening ! customizer.tab.events.button.unlisten=Stop listening ! ! customizer.tab.statistics.title=Statistics ! customizer.tab.statistics.text.description=Description ! customizer.tab.statistics.text.start.time=Start Time ! customizer.tab.statistics.text.last.sample.time=Last Sample Time ! customizer.tab.statistics.text.count=Count ! customizer.tab.statistics.text.current=Current ! customizer.tab.statistics.text.lower.bound=Lower Bound ! customizer.tab.statistics.text.upper.bound=Upper Bound ! customizer.tab.statistics.text.highwater.mark=High Water Mark ! customizer.tab.statistics.text.lowwater.mark=Low Water Mark ! customizer.tab.statistics.text.min.time=Min Time ! customizer.tab.statistics.text.max.time=Max Time ! customizer.tab.statistics.text.total.time=Total Time ! ! customizer.tab.statistics.tooltip.description=Description of the statistic ! customizer.tab.statistics.tooltip.start.time=Start time of the statistic ! customizer.tab.statistics.tooltip.last.sample.time=Last sample time of the statistic ! customizer.tab.statistics.tooltip.count=Number of occurences ! customizer.tab.statistics.tooltip.current=Current value ! customizer.tab.statistics.tooltip.lower.bound=Lower value reachable ! customizer.tab.statistics.tooltip.upper.bound=Higher value reachable ! customizer.tab.statistics.tooltip.highwater.mark=Higher value reached ! customizer.tab.statistics.tooltip.lowwater.mark=Lower value reached ! customizer.tab.statistics.tooltip.min.time=Minimum time taken by the operation ! customizer.tab.statistics.tooltip.max.time=Maximum time taken by the operation ! customizer.tab.statistics.tooltip.total.time=Total time taken by the operation ! ! customizer.tab.statistics.button.refresh=Refresh ! customizer.tab.statistics.button.graph=Graph ! ! ! # Text for open/save dialog box ! file.dialog.title.load=Load Workspace ! file.dialog.title.save=Save Workspace ! ! ! # Text for menus and buttons ! action.view=View ! action.view.mnemonic=86 ! ! action.view.notifications=View Notifications ! action.view.notifications.tooltip=View the notifications received Index: Resources_fr_FR.properties =================================================================== RCS file: /cvsroot/ejtools/applications/management.browser/src/resources/org/ejtools/management/browser/Resources_fr_FR.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Resources_fr_FR.properties 16 Mar 2003 22:19:57 -0000 1.1 --- Resources_fr_FR.properties 27 Nov 2003 01:39:48 -0000 1.2 *************** *** 19,22 **** --- 19,23 ---- about.dialog.text.javaVersion=Version de Java about.dialog.text.virtualMachine=Machine Virtuelle + about.dialog.text.lookAndFeel=Look And Feel *************** *** 52,61 **** customizer.tab.detail.tooltip.mo.type=Type J2EE de la Resource J2EE customizer.tab.detail.tooltip.mo.state.manageable=Vrai si la gestion d'état est possible ! customizer.tab.detail.tooltip.mo.event.provider=Vrai si la ressource J2EE est fournisseur d'évenements customizer.tab.detail.tooltip.mo.statistics.provider=Vrai si la ressource J2EE est fournisseur de statistiques customizer.tab.detail.tooltip.class.name=Nom de Classe de la ressource J2EE customizer.tab.detail.tooltip.class.description=Description de la ressource J2EE customizer.tab.detail.tooltip.unloadable.class=Classe non trouvée ! customizer.tab.detail.button.refresh=Rafraîchir customizer.tab.detail.button.update=Mettre à jour customizer.tab.detail.button.invoke=Executer --- 53,62 ---- customizer.tab.detail.tooltip.mo.type=Type J2EE de la Resource J2EE customizer.tab.detail.tooltip.mo.state.manageable=Vrai si la gestion d'état est possible ! customizer.tab.detail.tooltip.mo.event.provider=Vrai si la ressource J2EE est fournisseur d'événements customizer.tab.detail.tooltip.mo.statistics.provider=Vrai si la ressource J2EE est fournisseur de statistiques customizer.tab.detail.tooltip.class.name=Nom de Classe de la ressource J2EE customizer.tab.detail.tooltip.class.description=Description de la ressource J2EE customizer.tab.detail.tooltip.unloadable.class=Classe non trouvée ! customizer.tab.detail.button.refresh=Rafraîhir customizer.tab.detail.button.update=Mettre à jour customizer.tab.detail.button.invoke=Executer *************** *** 96,99 **** --- 97,105 ---- customizer.tab.statistics.button.refresh=Rafraîchir customizer.tab.statistics.button.graph=Tracer + + + # Text for open/save dialog box + file.dialog.title.load=Ouvrir Configuration + file.dialog.title.save=Save Configuration |
Update of /cvsroot/ejtools/applications/management.browser/src/main/org/ejtools/management/browser/ui/statistics In directory sc8-pr-cvs1:/tmp/cvs-serv18798/management.browser/src/main/org/ejtools/management/browser/ui/statistics Modified Files: BoundaryStatisticCustomizer.java BoundedRangeStatisticCustomizer.java CompositeStatisticCustomizer.java CountStatisticCustomizer.java RangeStatisticCustomizer.java StatisticCustomizer.java StatisticCustomizerFactory.java TimeStatisticCustomizer.java Log Message: Address Todo #800902 Address Todo #755528 Index: BoundaryStatisticCustomizer.java =================================================================== RCS file: /cvsroot/ejtools/applications/management.browser/src/main/org/ejtools/management/browser/ui/statistics/BoundaryStatisticCustomizer.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** BoundaryStatisticCustomizer.java 24 Feb 2003 22:35:17 -0000 1.2 --- BoundaryStatisticCustomizer.java 27 Nov 2003 01:39:48 -0000 1.3 *************** *** 13,17 **** /** * @author letiemble - * @created 13 février 2003 * @version $Revision$ */ --- 13,16 ---- *************** *** 35,48 **** this.lblUpperBound = new JLabel(""); this.addGraphItem( ! resources.getString("customizer.tab.statistics.text.lower.bound"), ! resources.getString("customizer.tab.statistics.tooltip.lower.bound"), ! "UpperBound", ! this.lblUpperBound); this.lblLowerBound = new JLabel(""); this.addGraphItem( ! resources.getString("customizer.tab.statistics.text.upper.bound"), ! resources.getString("customizer.tab.statistics.tooltip.upper.bound"), ! "LowerBound", ! this.lblLowerBound); } --- 34,47 ---- this.lblUpperBound = new JLabel(""); this.addGraphItem( ! resources.getString("customizer.tab.statistics.text.lower.bound"), ! resources.getString("customizer.tab.statistics.tooltip.lower.bound"), ! "UpperBound", ! this.lblUpperBound); this.lblLowerBound = new JLabel(""); this.addGraphItem( ! resources.getString("customizer.tab.statistics.text.upper.bound"), ! resources.getString("customizer.tab.statistics.tooltip.upper.bound"), ! "LowerBound", ! this.lblLowerBound); } Index: BoundedRangeStatisticCustomizer.java =================================================================== RCS file: /cvsroot/ejtools/applications/management.browser/src/main/org/ejtools/management/browser/ui/statistics/BoundedRangeStatisticCustomizer.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** BoundedRangeStatisticCustomizer.java 24 Feb 2003 22:35:17 -0000 1.2 --- BoundedRangeStatisticCustomizer.java 27 Nov 2003 01:39:48 -0000 1.3 *************** *** 13,17 **** /** * @author letiemble - * @created 13 février 2003 * @version $Revision$ */ --- 13,16 ---- *************** *** 41,72 **** this.lblUpperBound = new JLabel(""); this.addGraphItem( ! resources.getString("customizer.tab.statistics.text.upper.bound"), ! resources.getString("customizer.tab.statistics.tooltip.upper.bound"), ! "UpperBound", ! this.lblUpperBound); this.lblHighWM = new JLabel(""); this.addGraphItem( ! resources.getString("customizer.tab.statistics.text.highwater.mark"), ! resources.getString("customizer.tab.statistics.tooltip.highwater.mark"), ! "HighWaterMark", ! this.lblHighWM); this.lblCurrent = new JLabel(""); this.addGraphItem( ! resources.getString("customizer.tab.statistics.text.current"), ! resources.getString("customizer.tab.statistics.tooltip.current"), ! "Current", ! this.lblCurrent); this.lblLowWM = new JLabel(""); this.addGraphItem( ! resources.getString("customizer.tab.statistics.text.lowwater.mark"), ! resources.getString("customizer.tab.statistics.tooltip.lowwater.mark"), ! "LowWaterMark", ! this.lblLowWM); this.lblLowerBound = new JLabel(""); this.addGraphItem( ! resources.getString("customizer.tab.statistics.text.lower.bound"), ! resources.getString("customizer.tab.statistics.tooltip.lower.bound"), ! "LowerBound", ! this.lblLowerBound); } --- 40,71 ---- this.lblUpperBound = new JLabel(""); this.addGraphItem( ! resources.getString("customizer.tab.statistics.text.upper.bound"), ! resources.getString("customizer.tab.statistics.tooltip.upper.bound"), ! "UpperBound", ! this.lblUpperBound); this.lblHighWM = new JLabel(""); this.addGraphItem( ! resources.getString("customizer.tab.statistics.text.highwater.mark"), ! resources.getString("customizer.tab.statistics.tooltip.highwater.mark"), ! "HighWaterMark", ! this.lblHighWM); this.lblCurrent = new JLabel(""); this.addGraphItem( ! resources.getString("customizer.tab.statistics.text.current"), ! resources.getString("customizer.tab.statistics.tooltip.current"), ! "Current", ! this.lblCurrent); this.lblLowWM = new JLabel(""); this.addGraphItem( ! resources.getString("customizer.tab.statistics.text.lowwater.mark"), ! resources.getString("customizer.tab.statistics.tooltip.lowwater.mark"), ! "LowWaterMark", ! this.lblLowWM); this.lblLowerBound = new JLabel(""); this.addGraphItem( ! resources.getString("customizer.tab.statistics.text.lower.bound"), ! resources.getString("customizer.tab.statistics.tooltip.lower.bound"), ! "LowerBound", ! this.lblLowerBound); } Index: CompositeStatisticCustomizer.java =================================================================== RCS file: /cvsroot/ejtools/applications/management.browser/src/main/org/ejtools/management/browser/ui/statistics/CompositeStatisticCustomizer.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** CompositeStatisticCustomizer.java 17 Feb 2003 21:25:48 -0000 1.1 --- CompositeStatisticCustomizer.java 27 Nov 2003 01:39:48 -0000 1.2 *************** *** 13,17 **** /** * @author letiemble - * @created 13 février 2003 * @version $Revision$ */ --- 13,16 ---- Index: CountStatisticCustomizer.java =================================================================== RCS file: /cvsroot/ejtools/applications/management.browser/src/main/org/ejtools/management/browser/ui/statistics/CountStatisticCustomizer.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** CountStatisticCustomizer.java 24 Feb 2003 22:35:17 -0000 1.2 --- CountStatisticCustomizer.java 27 Nov 2003 01:39:48 -0000 1.3 *************** *** 13,17 **** /** * @author letiemble - * @created 13 février 2003 * @version $Revision$ */ --- 13,16 ---- *************** *** 33,40 **** this.lblCount = new JLabel(""); this.addGraphItem( ! resources.getString("customizer.tab.statistics.text.count"), ! resources.getString("customizer.tab.statistics.tooltip.count"), ! "Count", ! this.lblCount); } --- 32,39 ---- this.lblCount = new JLabel(""); this.addGraphItem( ! resources.getString("customizer.tab.statistics.text.count"), ! resources.getString("customizer.tab.statistics.tooltip.count"), ! "Count", ! this.lblCount); } Index: RangeStatisticCustomizer.java =================================================================== RCS file: /cvsroot/ejtools/applications/management.browser/src/main/org/ejtools/management/browser/ui/statistics/RangeStatisticCustomizer.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** RangeStatisticCustomizer.java 24 Feb 2003 22:35:19 -0000 1.2 --- RangeStatisticCustomizer.java 27 Nov 2003 01:39:48 -0000 1.3 *************** *** 13,17 **** /** * @author letiemble - * @created 13 février 2003 * @version $Revision$ */ --- 13,16 ---- *************** *** 37,56 **** this.lblHighWM = new JLabel(""); this.addGraphItem( ! resources.getString("customizer.tab.statistics.text.highwater.mark"), ! resources.getString("customizer.tab.statistics.tooltip.highwater.mark"), ! "HighWaterMark", ! this.lblHighWM); this.lblCurrent = new JLabel(""); this.addGraphItem( ! resources.getString("customizer.tab.statistics.text.current"), ! resources.getString("customizer.tab.statistics.tooltip.current"), ! "Current", ! this.lblCurrent); this.lblLowWM = new JLabel(""); this.addGraphItem( ! resources.getString("customizer.tab.statistics.text.lowwater.mark"), ! resources.getString("customizer.tab.statistics.tooltip.lowwater.mark"), ! "LowWaterMark", ! this.lblLowWM); } --- 36,55 ---- this.lblHighWM = new JLabel(""); this.addGraphItem( ! resources.getString("customizer.tab.statistics.text.highwater.mark"), ! resources.getString("customizer.tab.statistics.tooltip.highwater.mark"), ! "HighWaterMark", ! this.lblHighWM); this.lblCurrent = new JLabel(""); this.addGraphItem( ! resources.getString("customizer.tab.statistics.text.current"), ! resources.getString("customizer.tab.statistics.tooltip.current"), ! "Current", ! this.lblCurrent); this.lblLowWM = new JLabel(""); this.addGraphItem( ! resources.getString("customizer.tab.statistics.text.lowwater.mark"), ! resources.getString("customizer.tab.statistics.tooltip.lowwater.mark"), ! "LowWaterMark", ! this.lblLowWM); } Index: StatisticCustomizer.java =================================================================== RCS file: /cvsroot/ejtools/applications/management.browser/src/main/org/ejtools/management/browser/ui/statistics/StatisticCustomizer.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** StatisticCustomizer.java 24 Feb 2003 22:35:20 -0000 1.2 --- StatisticCustomizer.java 27 Nov 2003 01:39:48 -0000 1.3 *************** *** 19,22 **** --- 19,23 ---- import javax.swing.JLabel; import javax.swing.JPanel; + import javax.swing.SwingConstants; import javax.swing.border.TitledBorder; *************** *** 25,29 **** /** * @author letiemble - * @created 13 février 2003 * @version $Revision$ */ --- 26,29 ---- *************** *** 72,88 **** this.lblDescription = new JLabel(this.statistic.getDescription()); this.addItem( ! resources.getString("customizer.tab.statistics.text.description"), ! resources.getString("customizer.tab.statistics.tooltip.description"), ! this.lblDescription); this.lblStartTime = new JLabel(""); this.addItem( ! resources.getString("customizer.tab.statistics.text.start.time"), ! resources.getString("customizer.tab.statistics.tooltip.start.time"), ! this.lblStartTime); this.lblLastSampleTime = new JLabel(""); this.addItem( ! resources.getString("customizer.tab.statistics.text.last.sample.time"), ! resources.getString("customizer.tab.statistics.tooltip.last.sample.time"), ! this.lblLastSampleTime); } --- 72,88 ---- this.lblDescription = new JLabel(this.statistic.getDescription()); this.addItem( ! resources.getString("customizer.tab.statistics.text.description"), ! resources.getString("customizer.tab.statistics.tooltip.description"), ! this.lblDescription); this.lblStartTime = new JLabel(""); this.addItem( ! resources.getString("customizer.tab.statistics.text.start.time"), ! resources.getString("customizer.tab.statistics.tooltip.start.time"), ! this.lblStartTime); this.lblLastSampleTime = new JLabel(""); this.addItem( ! resources.getString("customizer.tab.statistics.text.last.sample.time"), ! resources.getString("customizer.tab.statistics.tooltip.last.sample.time"), ! this.lblLastSampleTime); } *************** *** 134,138 **** protected void addGraphItem(String label, String tooltip, String propertyName, JLabel value) { ! JLabel lbl = new JLabel(label + " : ", JLabel.RIGHT); lbl.setToolTipText(tooltip); this.gridbagconstraints.weightx = 0.0d; --- 134,138 ---- protected void addGraphItem(String label, String tooltip, String propertyName, JLabel value) { ! JLabel lbl = new JLabel(label + " : ", SwingConstants.RIGHT); lbl.setToolTipText(tooltip); this.gridbagconstraints.weightx = 0.0d; *************** *** 160,164 **** protected void addItem(String label, String tooltip, JLabel value) { ! JLabel lbl = new JLabel(label + " : ", JLabel.RIGHT); lbl.setToolTipText(tooltip); this.gridbagconstraints.weightx = 0.0d; --- 160,164 ---- protected void addItem(String label, String tooltip, JLabel value) { ! JLabel lbl = new JLabel(label + " : ", SwingConstants.RIGHT); lbl.setToolTipText(tooltip); this.gridbagconstraints.weightx = 0.0d; Index: StatisticCustomizerFactory.java =================================================================== RCS file: /cvsroot/ejtools/applications/management.browser/src/main/org/ejtools/management/browser/ui/statistics/StatisticCustomizerFactory.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** StatisticCustomizerFactory.java 17 Feb 2003 21:25:48 -0000 1.1 --- StatisticCustomizerFactory.java 27 Nov 2003 01:39:48 -0000 1.2 *************** *** 16,20 **** /** * @author letiemble - * @created 13 février 2003 * @version $Revision$ */ --- 16,19 ---- Index: TimeStatisticCustomizer.java =================================================================== RCS file: /cvsroot/ejtools/applications/management.browser/src/main/org/ejtools/management/browser/ui/statistics/TimeStatisticCustomizer.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** TimeStatisticCustomizer.java 24 Feb 2003 22:35:16 -0000 1.2 --- TimeStatisticCustomizer.java 27 Nov 2003 01:39:48 -0000 1.3 *************** *** 13,17 **** /** * @author letiemble - * @created 13 février 2003 * @version $Revision$ */ --- 13,16 ---- *************** *** 39,64 **** this.lblCount = new JLabel(""); this.addGraphItem( ! resources.getString("customizer.tab.statistics.text.count"), ! resources.getString("customizer.tab.statistics.tooltip.count"), ! "Count", ! this.lblCount); this.lblMinTime = new JLabel(""); this.addGraphItem( ! resources.getString("customizer.tab.statistics.text.min.time"), ! resources.getString("customizer.tab.statistics.tooltip.min.time"), ! "MinTime", ! this.lblMinTime); this.lblMaxTime = new JLabel(""); this.addGraphItem( ! resources.getString("customizer.tab.statistics.text.max.time"), ! resources.getString("customizer.tab.statistics.tooltip.max.time"), ! "MaxTime", ! this.lblMaxTime); this.lblTotalTime = new JLabel(""); this.addGraphItem( ! resources.getString("customizer.tab.statistics.text.total.time"), ! resources.getString("customizer.tab.statistics.tooltip.total.time"), ! "TotalTime", ! this.lblTotalTime); } --- 38,63 ---- this.lblCount = new JLabel(""); this.addGraphItem( ! resources.getString("customizer.tab.statistics.text.count"), ! resources.getString("customizer.tab.statistics.tooltip.count"), ! "Count", ! this.lblCount); this.lblMinTime = new JLabel(""); this.addGraphItem( ! resources.getString("customizer.tab.statistics.text.min.time"), ! resources.getString("customizer.tab.statistics.tooltip.min.time"), ! "MinTime", ! this.lblMinTime); this.lblMaxTime = new JLabel(""); this.addGraphItem( ! resources.getString("customizer.tab.statistics.text.max.time"), ! resources.getString("customizer.tab.statistics.tooltip.max.time"), ! "MaxTime", ! this.lblMaxTime); this.lblTotalTime = new JLabel(""); this.addGraphItem( ! resources.getString("customizer.tab.statistics.text.total.time"), ! resources.getString("customizer.tab.statistics.tooltip.total.time"), ! "TotalTime", ! this.lblTotalTime); } |
From: <let...@us...> - 2003-11-27 01:39:52
|
Update of /cvsroot/ejtools/applications/management.browser/src/main/org/ejtools/management/browser/ui In directory sc8-pr-cvs1:/tmp/cvs-serv18798/management.browser/src/main/org/ejtools/management/browser/ui Modified Files: ManagedObjectDetailViewer.java ManagedObjectEventsViewer.java ManagedObjectStatsViewer.java ManagedObjectTabViewer.java ManagedObjectViewer.java Log Message: Address Todo #800902 Address Todo #755528 Index: ManagedObjectDetailViewer.java =================================================================== RCS file: /cvsroot/ejtools/applications/management.browser/src/main/org/ejtools/management/browser/ui/ManagedObjectDetailViewer.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ManagedObjectDetailViewer.java 6 Apr 2003 11:50:18 -0000 1.5 --- ManagedObjectDetailViewer.java 27 Nov 2003 01:39:48 -0000 1.6 *************** *** 35,38 **** --- 35,39 ---- import javax.swing.JPanel; import javax.swing.JTextArea; + import javax.swing.SwingConstants; import org.apache.log4j.Logger; *************** *** 50,54 **** * * @author letiemble - * @created 8 avril 2002 * @version $Revision$ */ --- 51,54 ---- *************** *** 204,208 **** gridbagconstraints.weightx = 0.0D; gridbagconstraints.gridwidth = GridBagConstraints.RELATIVE; ! label = new JLabel(text + " : ", JLabel.RIGHT); label.setToolTipText(toolTip); label.setForeground(AwtToolkit.DARK_BLUE); --- 204,208 ---- gridbagconstraints.weightx = 0.0D; gridbagconstraints.gridwidth = GridBagConstraints.RELATIVE; ! label = new JLabel(text + " : ", SwingConstants.RIGHT); label.setToolTipText(toolTip); label.setForeground(AwtToolkit.DARK_BLUE); *************** *** 211,215 **** gridbagconstraints.weightx = 1.0D; gridbagconstraints.gridwidth = GridBagConstraints.REMAINDER; ! label = new JLabel(value, JLabel.LEFT); label.setForeground(Color.black); this.mbeanSummary.add(label, gridbagconstraints); --- 211,215 ---- gridbagconstraints.weightx = 1.0D; gridbagconstraints.gridwidth = GridBagConstraints.REMAINDER; ! label = new JLabel(value, SwingConstants.LEFT); label.setForeground(Color.black); this.mbeanSummary.add(label, gridbagconstraints); *************** *** 242,246 **** // Create the attribute label ! JLabel label = new JLabel(attributeInfo.getName() + " : ", JLabel.RIGHT); label.setToolTipText(attributeInfo.getDescription()); label.setForeground(AwtToolkit.DARK_BLUE); --- 242,246 ---- // Create the attribute label ! JLabel label = new JLabel(attributeInfo.getName() + " : ", SwingConstants.RIGHT); label.setToolTipText(attributeInfo.getDescription()); label.setForeground(AwtToolkit.DARK_BLUE); *************** *** 349,353 **** gridbagconstraints.insets = new Insets(2, 2, 2, 2); ! JLabel jlabel = new JLabel(attributeInfo.getName() + " :", JLabel.RIGHT); jlabel.setToolTipText(attributeInfo.getDescription()); jlabel.setForeground(Color.black); --- 349,353 ---- gridbagconstraints.insets = new Insets(2, 2, 2, 2); ! JLabel jlabel = new JLabel(attributeInfo.getName() + " :", SwingConstants.RIGHT); jlabel.setToolTipText(attributeInfo.getDescription()); jlabel.setForeground(Color.black); *************** *** 510,514 **** gridbagconstraints.gridwidth = 1; String returnType = ClassTools.classDisplay(operationInfo.getReturnType() + " "); ! JLabel label = new JLabel(returnType, JLabel.RIGHT); label.setForeground(AwtToolkit.DARK_BLUE); this.mbeanOperations.add(label, gridbagconstraints); --- 510,514 ---- gridbagconstraints.gridwidth = 1; String returnType = ClassTools.classDisplay(operationInfo.getReturnType() + " "); ! JLabel label = new JLabel(returnType, SwingConstants.RIGHT); label.setForeground(AwtToolkit.DARK_BLUE); this.mbeanOperations.add(label, gridbagconstraints); *************** *** 533,537 **** gridbagconstraints.weightx = 1.0D; gridbagconstraints.gridwidth = GridBagConstraints.RELATIVE; ! label = new JLabel(display.toString(), JLabel.LEFT); label.setToolTipText(operationInfo.getDescription()); label.setForeground(Color.black); --- 533,537 ---- gridbagconstraints.weightx = 1.0D; gridbagconstraints.gridwidth = GridBagConstraints.RELATIVE; ! label = new JLabel(display.toString(), SwingConstants.LEFT); label.setToolTipText(operationInfo.getDescription()); label.setForeground(Color.black); *************** *** 654,659 **** * * @author letiembl - * @created 21 novembre 2002 * @version $Revision$ */ protected class Updater --- 654,659 ---- * * @author letiembl * @version $Revision$ + * @created 21 novembre 2002 */ protected class Updater Index: ManagedObjectEventsViewer.java =================================================================== RCS file: /cvsroot/ejtools/applications/management.browser/src/main/org/ejtools/management/browser/ui/ManagedObjectEventsViewer.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ManagedObjectEventsViewer.java 3 Mar 2003 20:46:53 -0000 1.4 --- ManagedObjectEventsViewer.java 27 Nov 2003 01:39:48 -0000 1.5 *************** *** 20,23 **** --- 20,24 ---- import javax.swing.JList; import javax.swing.JPanel; + import javax.swing.SwingConstants; import org.apache.log4j.Logger; *************** *** 29,33 **** * * @author letiemble - * @created 8 avril 2002 * @version $Revision$ */ --- 30,33 ---- *************** *** 120,124 **** gridbagconstraints.weightx = 0.0D; gridbagconstraints.gridwidth = GridBagConstraints.RELATIVE; ! JLabel label = new JLabel(resources.getString("customizer.tab.events.text.event.types") + " : ", JLabel.RIGHT); label.setToolTipText(resources.getString("customizer.tab.events.tooltip.event.types")); label.setForeground(AwtToolkit.DARK_BLUE); --- 120,124 ---- gridbagconstraints.weightx = 0.0D; gridbagconstraints.gridwidth = GridBagConstraints.RELATIVE; ! JLabel label = new JLabel(resources.getString("customizer.tab.events.text.event.types") + " : ", SwingConstants.RIGHT); label.setToolTipText(resources.getString("customizer.tab.events.tooltip.event.types")); label.setForeground(AwtToolkit.DARK_BLUE); *************** *** 153,157 **** } } ! ); button2.addActionListener( --- 153,157 ---- } } ! ); button2.addActionListener( *************** *** 175,179 **** } } ! ); try --- 175,179 ---- } } ! ); try Index: ManagedObjectStatsViewer.java =================================================================== RCS file: /cvsroot/ejtools/applications/management.browser/src/main/org/ejtools/management/browser/ui/ManagedObjectStatsViewer.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ManagedObjectStatsViewer.java 3 Mar 2003 20:46:53 -0000 1.5 --- ManagedObjectStatsViewer.java 27 Nov 2003 01:39:48 -0000 1.6 *************** *** 16,20 **** import javax.management.MBeanAttributeInfo; - import javax.management.MBeanInfo; import javax.management.j2ee.statistics.Statistic; import javax.management.j2ee.statistics.Stats; --- 16,19 ---- *************** *** 33,37 **** * * @author letiemble - * @created 8 avril 2002 * @version $Revision$ */ --- 32,35 ---- *************** *** 69,73 **** public void addStatisticToGraph(String statisticName, String statisticProperty) { ! GraphConsumer consumer = GraphConsumerSelector.select(this); if (consumer != null) { --- 67,71 ---- public void addStatisticToGraph(String statisticName, String statisticProperty) { ! GraphConsumer consumer = GraphConsumerSelector.selectWithDialog(this); if (consumer != null) { *************** *** 130,134 **** this.object = (ManagedObject) bean; ! MBeanInfo beaninfo = this.object.getMBeanInfo(); GridBagConstraints gridbagconstraints = new GridBagConstraints(); --- 128,132 ---- this.object = (ManagedObject) bean; ! // MBeanInfo beaninfo = this.object.getMBeanInfo(); GridBagConstraints gridbagconstraints = new GridBagConstraints(); *************** *** 177,181 **** } } ! ); gridbagconstraints.weighty = 1.0D; this.panel.add(button, gridbagconstraints); --- 175,179 ---- } } ! ); gridbagconstraints.weighty = 1.0D; this.panel.add(button, gridbagconstraints); Index: ManagedObjectTabViewer.java =================================================================== RCS file: /cvsroot/ejtools/applications/management.browser/src/main/org/ejtools/management/browser/ui/ManagedObjectTabViewer.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ManagedObjectTabViewer.java 24 Feb 2003 22:35:13 -0000 1.3 --- ManagedObjectTabViewer.java 27 Nov 2003 01:39:48 -0000 1.4 *************** *** 16,20 **** /** * @author letiemble - * @created 27 janvier 2003 * @version $Revision$ * @todo I18N to complete --- 16,19 ---- Index: ManagedObjectViewer.java =================================================================== RCS file: /cvsroot/ejtools/applications/management.browser/src/main/org/ejtools/management/browser/ui/ManagedObjectViewer.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ManagedObjectViewer.java 24 Feb 2003 22:35:12 -0000 1.4 --- ManagedObjectViewer.java 27 Nov 2003 01:39:48 -0000 1.5 *************** *** 22,26 **** * * @author letiemble - * @created 8 avril 2002 * @version $Revision$ */ --- 22,25 ---- |
From: <let...@us...> - 2003-11-27 01:39:52
|
Update of /cvsroot/ejtools/applications/management.browser/src/main/org/ejtools/management/browser/state/rules In directory sc8-pr-cvs1:/tmp/cvs-serv18798/management.browser/src/main/org/ejtools/management/browser/state/rules Added Files: GraphInternalFrameRule.java ManagedObjectRule.java ManagementGraphRule.java ServerInternalFrameRule.java ServerRule.java Log Message: Address Todo #800902 Address Todo #755528 --- NEW FILE: GraphInternalFrameRule.java --- /* * Created on 20 juin 2003 * * To change this generated comment go to * Window>Preferences>Java>Code Generation>Code Template */ package org.ejtools.management.browser.state.rules; import java.beans.beancontext.BeanContextServices; import java.util.Map; import org.ejtools.graph.frame.GraphInternalFrame; import org.ejtools.util.state.DefaultRule; import org.xml.sax.Attributes; /** * @author letiemble * @created 20 juin 2003 * @version $Revision: 1.1 $ */ public class GraphInternalFrameRule extends DefaultRule { /** * Description of the Method * * @param context Description of the Parameter */ public void loadEnter(Map context) { BeanContextServices container = (BeanContextServices) context.get("CONTAINER"); GraphInternalFrame frame = new GraphInternalFrame(); Attributes attrs = (Attributes) context.get("ATTRIBUTES"); String name = attrs.getValue("name"); frame.setName(name); String delay = attrs.getValue("delay"); frame.setName(name); frame.setDelay(Long.parseLong(delay)); String scale = attrs.getValue("scale"); frame.setName(name); frame.setScale(Double.parseDouble(scale)); container.add(frame); } } --- NEW FILE: ManagedObjectRule.java --- /* * Created on 20 juin 2003 * * To change this generated comment go to * Window>Preferences>Java>Code Generation>Code Template */ package org.ejtools.management.browser.state.rules; import java.util.Map; import org.ejtools.management.browser.frame.ServerInternalFrame; import org.ejtools.management.browser.model.ManagedObject; import org.ejtools.util.state.DefaultRule; import org.xml.sax.Attributes; /** * @author letiemble * @created 20 juin 2003 * @version $Revision: 1.1 $ */ public class ManagedObjectRule extends DefaultRule { /** * Description of the Method * * @param context Description of the Parameter */ public void loadEnter(Map context) { ServerInternalFrame frame = (ServerInternalFrame) context.get("FRAME"); Attributes attrs = (Attributes) context.get("ATTRIBUTES"); String objectName = attrs.getValue("objectName"); ManagedObject resource = frame.queryMBean(objectName); if (resource != null) { context.put("MANAGED-OBJECT", resource); String listen = attrs.getValue("listen"); if ("true".equals(listen)) { try { resource.registerForNotifications(); } catch (Exception e) { e.printStackTrace(); } } } } } --- NEW FILE: ManagementGraphRule.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package org.ejtools.management.browser.state.rules; import java.util.Map; import org.ejtools.graph.service.GraphConsumer; import org.ejtools.graph.service.GraphConsumerSelector; import org.ejtools.management.browser.model.ManagedObject; import org.ejtools.util.state.DefaultRule; import org.xml.sax.Attributes; /** * @author letiemble * @version $Revision: 1.1 $ */ public class ManagementGraphRule extends DefaultRule { /** * Description of the Method * * @param context Description of the Parameter */ public void loadEnter(Map context) { ManagedObject resource = (ManagedObject) context.get("MANAGED-OBJECT"); if (resource != null) { Attributes attrs = (Attributes) context.get("ATTRIBUTES"); String attribute = attrs.getValue("attribute"); String target = attrs.getValue("target"); GraphConsumer consumer = GraphConsumerSelector.select(resource, target); resource.registerForGraph(consumer, attribute, null); } } } --- NEW FILE: ServerInternalFrameRule.java --- /* * EJTools, the Enterprise Java Tools * * Distributable under LGPL license. * See terms of license at www.gnu.org. */ package org.ejtools.management.browser.state.rules; import java.util.Map; import org.ejtools.management.browser.frame.ServerInternalFrame; import org.ejtools.util.state.DefaultRule; /** * @author letiembl * @version $Revision: 1.1 $ * @created 20 juin 2003 */ public class ServerInternalFrameRule extends DefaultRule { /** * Description of the Method * * @param context Description of the Parameter */ public void loadEnter(Map context) { ServerInternalFrame frame = new ServerInternalFrame(); context.put("FRAME", frame); context.put("HOLDER", frame); } } --- NEW FILE: ServerRule.java --- /* * Created on 20 juin 2003 * * To change this generated comment go to * Window>Preferences>Java>Code Generation>Code Template */ package org.ejtools.management.browser.state.rules; import java.beans.beancontext.BeanContextServices; import java.util.Map; import org.ejtools.management.browser.frame.ServerInternalFrame; import org.ejtools.management.browser.model.Server; import org.ejtools.util.state.DefaultRule; import org.xml.sax.Attributes; /** * @author letiemble * @created 20 juin 2003 * @version $Revision: 1.1 $ */ public class ServerRule extends DefaultRule { /** * Description of the Method * * @param context Description of the Parameter */ public void loadEnter(Map context) { BeanContextServices container = (BeanContextServices) context.get("CONTAINER"); ServerInternalFrame frame = (ServerInternalFrame) context.get("FRAME"); Server server = new Server(); context.put("SERVER", server); frame.setServer(server); container.add(frame); Attributes attrs = (Attributes) context.get("ATTRIBUTES"); String name = attrs.getValue("name"); server.setName(name); String connected = attrs.getValue("connected"); if ("true".equals(connected)) { server.connect(); } } } |
From: <let...@us...> - 2003-11-27 01:39:52
|
Update of /cvsroot/ejtools/applications/management.browser/src/main/org/ejtools/management/browser/model/service In directory sc8-pr-cvs1:/tmp/cvs-serv18798/management.browser/src/main/org/ejtools/management/browser/model/service Modified Files: CacheService.java CacheServiceProvider.java ConnectionMetaData.java ConnectionService.java ConnectionServiceProvider.java MEJBConnectionService.java NotificationService.java NotificationServiceProvider.java Log Message: Address Todo #800902 Address Todo #755528 Index: CacheService.java =================================================================== RCS file: /cvsroot/ejtools/applications/management.browser/src/main/org/ejtools/management/browser/model/service/CacheService.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** CacheService.java 24 Feb 2003 22:35:15 -0000 1.2 --- CacheService.java 27 Nov 2003 01:39:48 -0000 1.3 *************** *** 14,18 **** * * @author Laurent Etiemble - * @created 13 décembre 2001 * @version $Revision$ * @todo Javadoc to complete --- 14,17 ---- Index: CacheServiceProvider.java =================================================================== RCS file: /cvsroot/ejtools/applications/management.browser/src/main/org/ejtools/management/browser/model/service/CacheServiceProvider.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** CacheServiceProvider.java 24 Feb 2003 22:35:15 -0000 1.2 --- CacheServiceProvider.java 27 Nov 2003 01:39:48 -0000 1.3 *************** *** 13,17 **** import java.util.Vector; - import org.apache.log4j.Logger; import org.ejtools.beans.beancontext.CustomBeanContextServiceProvider; --- 13,16 ---- *************** *** 20,24 **** * * @author Laurent Etiemble - * @created 13 décembre 2001 * @version $Revision$ * @todo Javadoc to complete --- 19,22 ---- *************** *** 33,38 **** /** Description of the Field */ protected CacheService service = null; - /** Description of the Field */ - private static Logger logger = Logger.getLogger(CacheServiceProvider.class); --- 31,34 ---- Index: ConnectionMetaData.java =================================================================== RCS file: /cvsroot/ejtools/applications/management.browser/src/main/org/ejtools/management/browser/model/service/ConnectionMetaData.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ConnectionMetaData.java 24 Feb 2003 22:35:15 -0000 1.2 --- ConnectionMetaData.java 27 Nov 2003 01:39:48 -0000 1.3 *************** *** 11,15 **** /** * @author Laurent Etiemble - * @created 14 novembre 2002 * @version $Revision$ */ --- 11,14 ---- *************** *** 18,29 **** /** Description of the Field */ protected String[] keys = new String[]{ ! ConnectionMetaData.CLASS_NAME, ! ConnectionMetaData.FACTORY, ! ConnectionMetaData.PACKAGES, ! ConnectionMetaData.URL, ! ConnectionMetaData.CONTEXT, ! ConnectionMetaData.PRINCIPAL, ! ConnectionMetaData.CREDENTIALS ! }; /** Description of the Field */ public final static String CLASS_NAME = "classname"; --- 17,28 ---- /** Description of the Field */ protected String[] keys = new String[]{ ! ConnectionMetaData.CLASS_NAME, ! ConnectionMetaData.FACTORY, ! ConnectionMetaData.PACKAGES, ! ConnectionMetaData.URL, ! ConnectionMetaData.CONTEXT, ! ConnectionMetaData.PRINCIPAL, ! ConnectionMetaData.CREDENTIALS ! }; /** Description of the Field */ public final static String CLASS_NAME = "classname"; Index: ConnectionService.java =================================================================== RCS file: /cvsroot/ejtools/applications/management.browser/src/main/org/ejtools/management/browser/model/service/ConnectionService.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ConnectionService.java 24 Feb 2003 22:35:15 -0000 1.2 --- ConnectionService.java 27 Nov 2003 01:39:48 -0000 1.3 *************** *** 17,21 **** * * @author Laurent Etiemble - * @created 13 décembre 2001 * @version $Revision$ * @todo Javadoc to complete --- 17,20 ---- Index: ConnectionServiceProvider.java =================================================================== RCS file: /cvsroot/ejtools/applications/management.browser/src/main/org/ejtools/management/browser/model/service/ConnectionServiceProvider.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ConnectionServiceProvider.java 24 Feb 2003 22:35:15 -0000 1.2 --- ConnectionServiceProvider.java 27 Nov 2003 01:39:48 -0000 1.3 *************** *** 11,15 **** import java.util.Vector; - import org.apache.log4j.Logger; import org.ejtools.beans.beancontext.CustomBeanContextServiceProvider; --- 11,14 ---- *************** *** 18,22 **** * * @author Laurent Etiemble - * @created 13 décembre 2001 * @version $Revision$ * @todo Javadoc to complete --- 17,20 ---- *************** *** 26,31 **** /** Description of the Field */ protected ConnectionService service = null; - /** Description of the Field */ - private static Logger logger = Logger.getLogger(ConnectionServiceProvider.class); --- 24,27 ---- Index: MEJBConnectionService.java =================================================================== RCS file: /cvsroot/ejtools/applications/management.browser/src/main/org/ejtools/management/browser/model/service/MEJBConnectionService.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** MEJBConnectionService.java 24 Feb 2003 22:35:15 -0000 1.2 --- MEJBConnectionService.java 27 Nov 2003 01:39:48 -0000 1.3 *************** *** 22,26 **** * * @author Laurent Etiemble - * @created 4 septembre 2002 * @version $Revision$ */ --- 22,25 ---- Index: NotificationService.java =================================================================== RCS file: /cvsroot/ejtools/applications/management.browser/src/main/org/ejtools/management/browser/model/service/NotificationService.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** NotificationService.java 24 Feb 2003 22:35:15 -0000 1.2 --- NotificationService.java 27 Nov 2003 01:39:48 -0000 1.3 *************** *** 14,18 **** /** * @author Laurent Etiemble - * @created 13 juin 2002 * @version $Revision$ * @todo Javadoc to complete --- 14,17 ---- Index: NotificationServiceProvider.java =================================================================== RCS file: /cvsroot/ejtools/applications/management.browser/src/main/org/ejtools/management/browser/model/service/NotificationServiceProvider.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** NotificationServiceProvider.java 24 Feb 2003 22:35:15 -0000 1.3 --- NotificationServiceProvider.java 27 Nov 2003 01:39:48 -0000 1.4 *************** *** 31,35 **** * * @author Laurent Etiemble - * @created 13 décembre 2001 * @version $Revision$ * @todo Javadoc to complete --- 31,34 ---- *************** *** 264,269 **** * * @author letiembl - * @created 18 septembre 2002 * @version $Revision$ * @todo I18N */ --- 263,268 ---- * * @author letiembl * @version $Revision$ + * @created 18 septembre 2002 * @todo I18N */ |