User: juhalindfors
Date: 02/02/22 06:22:52
Modified: src/main/org/jboss/mx/interceptor MBeanInvoker.java
Log:
no args constructor in invoker is needed by mmb implementations
Revision Changes Path
1.2 +11 -2 jmx/src/main/org/jboss/mx/interceptor/MBeanInvoker.java
Index: MBeanInvoker.java
===================================================================
RCS file: /cvsroot/jboss/jmx/src/main/org/jboss/mx/interceptor/MBeanInvoker.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- MBeanInvoker.java 29 Jan 2002 03:33:22 -0000 1.1
+++ MBeanInvoker.java 22 Feb 2002 14:22:52 -0000 1.2
@@ -25,7 +25,7 @@
* @author <a href="mailto:[EMAIL PROTECTED]">Juha Lindfors</a>.
* @author <a href="mailto:[EMAIL PROTECTED]">Trevor Squires</a>.
*
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*
*/
public class MBeanInvoker implements DynamicMBean
@@ -33,6 +33,12 @@
// Attributes ----------------------------------------------------
protected MBeanInterceptor stack = null;
+ // JPL: invoker target
+ public Object resource = null;
+
+ // JPL: def constr needed by modelmbean impl... stack config is not known at
construction time
+ public MBeanInvoker() { }
+
public MBeanInvoker(MBeanInterceptor stack)
{
if (null == stack)
@@ -139,8 +145,11 @@
throw (ReflectionException) t;
else if (t instanceof JMRuntimeException)
throw (JMRuntimeException) t;
- else // FIXME - LOG THIS, PERHAPS WE NEED AN INTERNALERROR CLASS?
+ else
+ { // FIXME - LOG THIS, PERHAPS WE NEED AN INTERNALERROR CLASS?
+ t.printStackTrace();
throw new RuntimeErrorException(new Error("Unhandled Throwable in
MBeanInvoker: " + t.getMessage()));
+ }
}
catch (Throwable t)
{
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development