User: user57
Date: 02/02/11 19:22:03
Modified: src/main/org/jboss/web AbstractWebContainer.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.23 +3 -3 jboss/src/main/org/jboss/web/AbstractWebContainer.java
Index: AbstractWebContainer.java
===================================================================
RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/web/AbstractWebContainer.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- AbstractWebContainer.java 7 Feb 2002 17:05:17 -0000 1.22
+++ AbstractWebContainer.java 12 Feb 2002 03:22:03 -0000 1.23
@@ -128,7 +128,7 @@
@see org.jboss.security.SecurityAssociation;
@author [EMAIL PROTECTED]
-@version $Revision: 1.22 $
+@version $Revision: 1.23 $
*/
public abstract class AbstractWebContainer
extends ServiceMBeanSupport
@@ -613,7 +613,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"});
@@ -630,7 +630,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