Here's problem in a little more detail. The following is not really accurate; I'm
avoiding some abstractions/indirections in the interest of clarity.
The binding is done by an external mbean service, JRMPProxyFactory. It creates a proxy
that implements the specified interface. Our goal is to expose Cache, so lets say it
implements Cache.
The proxy knows how to communicate with one of the AS' detached invokers (which one is
a config detail of the JRMPProxyFactory.) When the client invokes a method, it sends back
an Invocation object encapsulating the ObjectName of the service to call on, along with
the method name and params.
The detached invoker receives the Invocation and extracts the ObjectName, method name and
args. It then does a call on the MBeanServer to invoke the given method.
Problem is there is no mbean anywhere that exposes the Cache interface. Hence the detached
invoker cannot make a call via the MBeanServer to any of the Cache methods.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050276#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...