In my local workspace I can add an annotation in the mc/managed api like:
| package org.jboss.managed.api.annotation;
| ...
| @Target({ElementType.TYPE})
| @Retention(RetentionPolicy.RUNTIME)
| public @interface ManagementObjectClass
| {
| /** The class annotated with ManagementObject */
| Class code();
| }
|
Then update the mc/org.jboss.managed.plugins.factory.AbstractManagedObjectFactory to
handle the indirection from the ManagementObjectClass annotation to the real ManagedObject
one.
Will this be picked up whoever calls the
ServiceMetaDataICF.getManagedObjectClass(ServiceMetadata md) method?
If yes, no change would be need there.
Or have I missunderstood what you want?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102642#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...