Hi,

This would work if there was a way to configure it.
See the FIXME in ModelMBeanInvoker.preRegister

Regards,
Adrian

From: David Klimek <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [JBoss-dev] org.jboss.mx.interceptor: Does it work?
Date: Sat, 01 Mar 2003 12:05:38 +0100

Hello,

I have add logging to org.jboss.mx.interceptor.LogInterceptor but it seems that method invoke is never called.

public Object invoke(Invocation invocation) {
      long begin = System.currentTimeMillis();
      try {
         return getNext().invoke(invocation);
      } finally {
         logInvocation(invocation, begin, System.currentTimeMillis());
      }
}


The interceptor stack with LogInterceptor is created possibly in ModelMBeanInvoker.


Am I missing something or this part of jboss is just not finished.
I have done these experiments on JBoss3.2 RC1.

Does it work in HEAD?

Thank's
David


-- http://www.sweb.cz/david.klimek



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


_________________________________________________________________
MSN Messenger - fast, easy and FREE! http://messenger.msn.co.uk



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to