User: user57 Date: 02/01/02 20:00:54 Modified: jboss.net/src/main/org/jboss/net/jmx/adaptor/server Adaptor.java Constants.java Log: o migrated all components to a new JMX domain name model. jboss.system is now where to core/spine components live. moved all components that were in JBOSS-SYSTEM that did not move into a jboss.* domain into jboss (where the server is now registered). The point was to limit the members of jboss.system to core bits only. o Created org.jboss.system.Server, which does the work of initialization that org.jboss.Main used to do. Main now only parses the command line, sets up basic legecy properties and creates a Server instance. o Moved functionality of Shutdown (component not cl tool) into Server ( which is bound as jboss.system:service=Server) o Moved more Runtime access from Info into Server. Exposed memory info as attributes. o Logging a WARN everywhere that uses System.getProperty("jboss.system.home") as that should go away soon/eventually. o Initialized the invokerMap in the harmi impl to avoid NPE o Made getopt.jar a member of the lib/* dir instead of adding it to the run.jar and shutdown.jars each time. o Minor cosmetic changes along the way. Revision Changes Path 1.3 +3 -3 contrib/jboss.net/src/main/org/jboss/net/jmx/adaptor/server/Adaptor.java Index: Adaptor.java =================================================================== RCS file: /cvsroot/jboss/contrib/jboss.net/src/main/org/jboss/net/jmx/adaptor/server/Adaptor.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Adaptor.java 2001/12/05 11:00:27 1.2 +++ Adaptor.java 2002/01/03 04:00:54 1.3 @@ -21,7 +21,7 @@ * soap-enabled mbean to the outside world. * @author <a href="mailto:[EMAIL PROTECTED]">Christoph G. Jung</a> * @created October 1, 2001 - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ * Change notes: * <ul> * <li> 5.12.01: CGJ, zip-cache problem "fixed" <li> @@ -42,12 +42,12 @@ } public void startService() throws Exception { - getServer().invoke(new ObjectName("JBOSS-SYSTEM:service=Axis"),"deploy",new Object[] {fixURL(getClass().getClassLoader().getResource("META-INF/install-jmx.xml")).toString()},new String[] {"java.lang.String"}); + getServer().invoke(new ObjectName("jboss:service=Axis"),"deploy",new Object[] {fixURL(getClass().getClassLoader().getResource("META-INF/install-jmx.xml")).toString()},new String[] {"java.lang.String"}); } public void stopService() { try{ - getServer().invoke(new ObjectName("JBOSS-SYSTEM:service=Axis"),"undeploy",new Object[] {fixURL(getClass().getClassLoader().getResource("META-INF/install-jmx.xml")).toString()},new String[] {"java.lang.String"}); + getServer().invoke(new ObjectName("jboss:service=Axis"),"undeploy",new Object[] {fixURL(getClass().getClassLoader().getResource("META-INF/install-jmx.xml")).toString()},new String[] {"java.lang.String"}); } catch(Exception e) { } } 1.2 +8 -11 contrib/jboss.net/src/main/org/jboss/net/jmx/adaptor/server/Constants.java Index: Constants.java =================================================================== RCS file: /cvsroot/jboss/contrib/jboss.net/src/main/org/jboss/net/jmx/adaptor/server/Constants.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Constants.java 2001/10/12 12:17:49 1.1 +++ Constants.java 2002/01/03 04:00:54 1.2 @@ -5,21 +5,18 @@ * See terms of license at gnu.org. */ -// $Id: Constants.java,v 1.1 2001/10/12 12:17:49 cgjung Exp $ - package org.jboss.net.jmx.adaptor.server; /** - * Some Constants for the jmxadaptor package + * Some Constants for the jmxadaptor package. + * * @author <a href="mailto:[EMAIL PROTECTED]">Christoph G. Jung</a> * @created 1. October 2001 - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ - -public interface Constants { - - static final String DOMAIN="JBOSS-SYSTEM"; - static final String NAME = "JMXConnector"; - static final String TYPE="service"; - +public interface Constants +{ + String DOMAIN = "jboss"; + String NAME = "JMXConnector"; + String TYPE = "service"; }
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development