I want to expand the SAR Deployer to accept annotated classes. 

The way it would work would be as follows.  


  | @MBean("domain.name:service=something")
  | public class MyClass implements MyClassMBean {...}
  | 

The SAR Deployer would browse the archive for all @MBean tagged classes
and create an MBean instance for that class and deploy it under the annotation name.  
Javassist and the JBoss AOP AnnotationCompiler will allow us to write JDk 1.4 
compatible code.


  | /** @@MBean("domain.name:service=something") */
  | public class MyClass implements MyClassMBean {...}
  | 

This allows for very simple creation of service MBeans.

Bill



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852801#3852801

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


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to