[jboss-dev-forums] [Design of POJO Server] - Re: Integrating platform mbeans into kernel bus?

scott.stark@jboss.org do-not-reply at jboss.com
Wed Feb 25 17:19:36 EST 2009


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#4213189

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



More information about the jboss-dev-forums mailing list