A common pattern is to have an attribute of type String containing the full class name of a class implementing some interface of yours that you instantiate in the mbean.
Just be carefull when loading the class: http://wiki.jboss.org/wiki/Wiki.jsp?page=HowCanIDynamicallyLoadClassesWithinAnMBean If you want to have many of them, why not using an attribute of type String[]? In any case, no need to change any dtds, whatsoever... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3881661#3881661 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3881661 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
