Another issue on this:
When I resolve an MMBOpInfo signature to a Method object I need to interact with a classloader.
I've lifted getSignatureAsClassArray from the soon to be defunct StandardMBeanInterceptor. However it seems that it's delegating to the DefaultLoaderRepository on CNFExceptions.
IMHO it's impossible that the construction of an MMBA will rely on the DefaultLoaderRepository. The managedResource instance's classloader will always be able to resolve a class passed as a parameter to a method call.
I just want to make sure that this assumption is correct and I'm not forgetting something about JBoss's wacked-out classloaders.
> I expect that all interceptors will sit in front
> of the MMBA. i.e. between the RequiredModelMBean
> or XMBean and the MMBA.
The MMBA should be pluggable so that the reflection based implementation can be replaced with a specific class implementation (DynamicMBean style) that allows for fast invocations with MMB as well.
> I just want to make sure that this assumption is
> correct and I'm not forgetting something about
> JBoss's wacked-out classloaders.
I think you are correct.