Invocation.OP_INVOKE == "invoke" which is first called on LifeCycleInterceptor for the 
create...
but then
 Interceptor ic = invocation.nextInterceptor();
 ic.invoke(interceptor)

is called on the ModelMBeanAttributeInterceptor, where the invocation.getType() == 
OP_INVOKE, but it should be one of the following:

...
if (invocation.getType().equals(Invocation.OP_SETATTRIBUTE))
else if (invocation.getType().equals(Invocation.OP_GETATTRIBUTE)


so I guess either my nextInterceptor is wrong, or it maybe has to be called somewhere 
else?
Anyway, I was wondering why the lifecycleinterceptor checks for more interceptors... 
shouldn't this be handled by another class that goes through the interceptor chain?




View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844214#3844214

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844214


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to