Ok, I have the dispatch working using a subclass of AbstractKernelRegistryEntry that
implements InvokeDispatchContext, but there is an issue with the
RuntimeComponentDispatcher implementation and spi. The problem with the implementation is
that it does not build the correct signature for a method if the method takes a primitive.
The signature is java.lang.Long rather than just long.
However, the MetaType spi does not have an isPrimitive notion, so there is not much the
default RuntimeComponentDispatcher can do. I can work around this in my
InvokeDispatchContext and try to match the invocation against the MBeanOperationInfo
metadata.
In general we need a notion of primitives in MetaType, or we need it on the
ManagedParameter api.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213189#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...