User: user57 Date: 02/02/11 19:22:03 Modified: src/main/org/jboss/ejb EJBDeployer.java Log: o Adding SafeObjectFactory, which simply makes ObjectNames and turns ant malformed exceptions into Errors. This is used to create ObjectName OBJECT_NAME fields, so we don't have to keep creating new ObjectNames all the time. o MainDeployer & ServiceController use new ObjectName OBJECT_NAME o Updated refering classes to not wrap OBJECT_NAME with new ObjectName o Using MBeanProxy to talk to ServiceController (and MainDeployer in some areas). MBeanProxy is a central location to put in that pesky JMX exception handling + is tidies up the code base. Can evevntually optimize this to make it veru efficient too. o Putting org.jboss.util classes into lib/ext/jboss-util.jar and adding it to the bootlibraries, so that the core system components have access to these when loading (not just when running, aka after jboss-service.xml loads). * Need to clean up jboss-util, move deployable stuff out of it and such (they don't really belong there). o updated modules that needed util, to include jboss-util.jar in there external module config Revision Changes Path 1.4 +3 -3 jboss/src/main/org/jboss/ejb/EJBDeployer.java Index: EJBDeployer.java =================================================================== RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/EJBDeployer.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- EJBDeployer.java 9 Feb 2002 16:09:21 -0000 1.3 +++ EJBDeployer.java 12 Feb 2002 03:22:02 -0000 1.4 @@ -74,7 +74,7 @@ * @author <a href="mailto:[EMAIL PROTECTED]">Peter Antman</a>. * @author <a href="mailto:[EMAIL PROTECTED]">Scott Stark</a> * @author <a href="mailto:[EMAIL PROTECTED]">Sacha Labourey</a> -* @version $Revision: 1.3 $ +* @version $Revision: 1.4 $ */ public class EJBDeployer extends ServiceMBeanSupport @@ -163,7 +163,7 @@ { // Register with the main deployer server.invoke( - new ObjectName(org.jboss.deployment.MainDeployerMBean.OBJECT_NAME), + org.jboss.deployment.MainDeployerMBean.OBJECT_NAME, "addDeployer", new Object[] {this}, new String[] {"org.jboss.deployment.DeployerMBean"}); @@ -188,7 +188,7 @@ { // Register with the main deployer server.invoke( - new ObjectName(org.jboss.deployment.MainDeployerMBean.OBJECT_NAME), + org.jboss.deployment.MainDeployerMBean.OBJECT_NAME, "removeDeployer", new Object[] {this}, new String[] {"org.jboss.deployment.DeployerMBean"});
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development