A JBoss service exposes an invoke(Invocation) operation that maps
calls to the ExposedInterface onto the MBeanServer this service
is registered with. It is used in conjunction with a proxy factory
to expose the MBeanServer to remote clients through arbitrary
protocols.
It sets up the correct classloader before unmarshalling the
arguments, this relies on the ObjectName being seperate from
from the other method arguments to avoid unmarshalling them
before the classloader is determined from the ObjectName.
The interface is configurable, it must be similar to MBeanServer,
though not necessarily derived from it
The invoker is configurable and must be specified
author: Adrian Brock author: Scott.Stark@jboss.org version: $Revision: 57209 $ |