-
1. Re: ModelMBeanAdapter impl
squirest Feb 4, 2002 7:33 AM (in response to squirest)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.
Thoughts?
Trev -
2. Re: ModelMBeanAdapter impl
juha Feb 5, 2002 8:25 AM (in response to squirest)>
> I expect that all interceptors will sit in front
> of the MMBA. i.e. between the RequiredModelMBean
> or XMBean and the MMBA.
>
> Ok?
yup
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. -
3. Re: ModelMBeanAdapter impl
juha Feb 5, 2002 8:26 AM (in response to squirest)> 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.
-- Juha