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
In general we need a notion of primitives in MetaType, or we need it on the
View the original post :
Reply to the post :