User: user57 Date: 02/01/02 20:00:52 Modified: src/main/org/jboss/ejb/plugins CMPClusteredInMemoryPersistenceManager.java ClusterSyncEntityInstanceCache.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 +2 -3 jbossmx/src/main/org/jboss/ejb/plugins/CMPClusteredInMemoryPersistenceManager.java Index: CMPClusteredInMemoryPersistenceManager.java =================================================================== RCS file: /cvsroot/jboss/jbossmx/src/main/org/jboss/ejb/plugins/CMPClusteredInMemoryPersistenceManager.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- CMPClusteredInMemoryPersistenceManager.java 2001/12/31 15:13:45 1.2 +++ CMPClusteredInMemoryPersistenceManager.java 2002/01/03 04:00:52 1.3 @@ -7,7 +7,6 @@ package org.jboss.ejb.plugins; - import java.lang.reflect.Field; import java.lang.reflect.Method; import java.io.IOException; @@ -30,7 +29,7 @@ * @see org.jboss.ha.framework.interfaces.DistributedState * * @author <a href="mailto:[EMAIL PROTECTED]">Sacha Labourey</a>. - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ * * <p><b>Revisions:</b> * @@ -72,7 +71,7 @@ */ public void create () throws Exception { - String name = "JBOSS-SYSTEM:service=DistributedState,partitionName=DefaultPartition"; + String name = "jboss:service=DistributedState,partitionName=DefaultPartition"; ds = (DistributedState)org.jboss.system.Registry.lookup (name); String ejbName = con.getBeanMetaData ().getEjbName (); 1.2 +4 -4 jbossmx/src/main/org/jboss/ejb/plugins/ClusterSyncEntityInstanceCache.java Index: ClusterSyncEntityInstanceCache.java =================================================================== RCS file: /cvsroot/jboss/jbossmx/src/main/org/jboss/ejb/plugins/ClusterSyncEntityInstanceCache.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ClusterSyncEntityInstanceCache.java 2001/12/29 16:23:11 1.1 +++ ClusterSyncEntityInstanceCache.java 2002/01/03 04:00:52 1.2 @@ -23,11 +23,11 @@ * distributed cache corruption mechanism. * * @author <a href="mailto:[EMAIL PROTECTED]">Sacha Labourey</a> - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public class ClusterSyncEntityInstanceCache -extends EntityInstanceCache -implements org.jboss.ha.framework.interfaces.DistributedState.DSListener + extends EntityInstanceCache + implements org.jboss.ha.framework.interfaces.DistributedState.DSListener { // Constants ----------------------------------------------------- @@ -48,7 +48,7 @@ // Get a reference to the DS service // - String name = "JBOSS-SYSTEM:service=DistributedState,partitionName=DefaultPartition"; + String name = "jboss:service=DistributedState,partitionName=DefaultPartition"; ds = (DistributedState)org.jboss.system.Registry.lookup (name); }
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development