[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: ManagedObject support in next messaging release

dimitris@jboss.org do-not-reply at jboss.com
Wed Nov 7 12:53:12 EST 2007


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#4102642

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102642



More information about the jboss-dev-forums mailing list