User: user57 Date: 02/01/02 20:00:58 Modified: src/main/org/jboss/jmx/connector ConnectorFactoryImpl.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.5 +12 -11 jboss/src/main/org/jboss/jmx/connector/ConnectorFactoryImpl.java Index: ConnectorFactoryImpl.java =================================================================== RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/jmx/connector/ConnectorFactoryImpl.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- ConnectorFactoryImpl.java 2001/10/11 01:41:59 1.4 +++ ConnectorFactoryImpl.java 2002/01/03 04:00:58 1.5 @@ -1,9 +1,10 @@ /* -* JBoss, the OpenSource J2EE webOS -* -* Distributable under LGPL license. -* See terms of license at gnu.org. -*/ + * JBoss, the OpenSource J2EE webOS + * + * Distributable under LGPL license. + * See terms of license at gnu.org. + */ + package org.jboss.jmx.connector; import java.util.Arrays; @@ -37,8 +38,8 @@ * @author <A href="mailto:[EMAIL PROTECTED]">Andreas Schaefer</A> * @created May 2, 2001 **/ -public class ConnectorFactoryImpl { - +public class ConnectorFactoryImpl +{ // Constants ----------------------------------------------------- // Static -------------------------------------------------------- @@ -139,7 +140,7 @@ ); mServer.registerMBean( lConnector, - new ObjectName( "JBOSS-SYSTEM:name=RMIConnectorTo" + pConnector.getServer() ) + new ObjectName( "jboss:name=RMIConnectorTo" + pConnector.getServer() ) ); } catch( Exception e ) { @@ -156,7 +157,7 @@ ); mServer.registerMBean( lConnector, - new ObjectName( "JBOSS-SYSTEM:name=EJBConnectorTo" + pConnector.getServer() ) + new ObjectName( "jboss:name=EJBConnectorTo" + pConnector.getServer() ) ); } catch( Exception e ) { @@ -177,7 +178,7 @@ try { if( pConnector.getProtocol().equals( "rmi" ) ) { Set lConnectors = mServer.queryMBeans( - new ObjectName( "JBOSS-SYSTEM:name=RMIConnectorTo" + pConnector.getServer() ), + new ObjectName( "jboss:name=RMIConnectorTo" + pConnector.getServer() ), null ); if( !lConnectors.isEmpty() ) { @@ -198,7 +199,7 @@ } else if( pConnector.getProtocol().equals( "ejb" ) ) { Set lConnectors = mServer.queryMBeans( - new ObjectName( "JBOSS-SYSTEM:name=EJBConnectorTo" + pConnector.getServer() ), + new ObjectName( "jboss:name=EJBConnectorTo" + pConnector.getServer() ), null ); if( !lConnectors.isEmpty() ) {
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development