From: Juha L. <juh...@us...> - 2003-04-01 08:43:46
|
User: juhalindfors Date: 03/04/01 00:43:45 Modified: src/main/org/jboss/mx/interceptor AbstractSharedInterceptor.java Log: use RequiredModelMBeanInstantiator to avoid using SUN implementation of RMM when JDK 1.5 comes around. Revision Changes Path 1.5 +2 -2 jmx/src/main/org/jboss/mx/interceptor/AbstractSharedInterceptor.java Index: AbstractSharedInterceptor.java =================================================================== RCS file: /cvsroot/jboss/jmx/src/main/org/jboss/mx/interceptor/AbstractSharedInterceptor.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- AbstractSharedInterceptor.java 8 Mar 2003 22:23:25 -0000 1.4 +++ AbstractSharedInterceptor.java 1 Apr 2003 08:43:44 -0000 1.5 @@ -37,7 +37,7 @@ * @see org.jboss.mx.server.MBeanInvoker * * @author <a href="mailto:ju...@jb...">Juha Lindfors</a>. - * @version $Revision: 1.4 $ + * @version $Revision: 1.5 $ */ public abstract class AbstractSharedInterceptor extends AbstractInterceptor @@ -165,7 +165,7 @@ ); // register the interceptor to server - RequiredModelMBean rmm = new RequiredModelMBean(); + RequiredModelMBean rmm = RequiredModelMBeanInstantiator.instantiate(); rmm.setManagedResource(this, ModelMBeanConstants.OBJECT_REF); rmm.setModelMBeanInfo(getManagementInterface()); server.registerMBean(rmm, objectName); |