User: user57 Date: 02/01/02 20:01:01 Modified: src/main/org/jboss/util CounterInterceptor.java Scheduler.java SchedulerMBean.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.8 +1 -1 jboss/src/main/org/jboss/util/CounterInterceptor.java Index: CounterInterceptor.java =================================================================== RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/util/CounterInterceptor.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- CounterInterceptor.java 2001/12/19 06:44:52 1.7 +++ CounterInterceptor.java 2002/01/03 04:01:00 1.8 @@ -19,7 +19,7 @@ * <p>First, the CounterService MBean must be installed in JBoss. To do this, * place the following in your JBoss.jcml file, near the very end.</p> * <code> - * <mbean code="org.jboss.util.CounterService" name="JBOSS-SYSTEM:service=CounterService" > </mbean> + * <mbean code="org.jboss.util.CounterService" name="jboss:service=CounterService" > </mbean> * </code> * <p>This will start up and enable the centralized counter in your JBoss server * instance. 1.13 +1 -1 jboss/src/main/org/jboss/util/Scheduler.java Index: Scheduler.java =================================================================== RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/util/Scheduler.java,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- Scheduler.java 2001/11/12 06:52:18 1.12 +++ Scheduler.java 2002/01/03 04:01:01 1.13 @@ -42,7 +42,7 @@ * ATTENTION: The scheduler instance only allows to run one schedule at a time. * Therefore when you want to run two schedules create to instances with this * MBean. Suggested Object Name for the MBean are:<br> -* JBOSS-SYSTEM:service=Scheduler,schedule=<you schedule name><br> +* jboss:service=Scheduler,schedule=<you schedule name><br> * This way you should not run into a name conflict. * * @author <a href="mailto:[EMAIL PROTECTED]">Andreas Schaefer</a> 1.7 +1 -1 jboss/src/main/org/jboss/util/SchedulerMBean.java Index: SchedulerMBean.java =================================================================== RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/util/SchedulerMBean.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- SchedulerMBean.java 2001/11/02 06:07:48 1.6 +++ SchedulerMBean.java 2002/01/03 04:01:01 1.7 @@ -25,7 +25,7 @@ // Constants // ------------------------------------------------------------------------- - public static final String OBJECT_NAME = "JBOSS-SYSTEM:service=Scheduler"; + public static final String OBJECT_NAME = "jboss:service=Scheduler"; // ------------------------------------------------------------------------- // Methods
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development