Solution: The microcontainer accepts the notion of a deployment, this is a collection of beans:
| public interface KernelDeployment | { | /** | * Get the beans in the deployment | * | * @return List<BeanMetaData> | */ | List getBeans(); | | This can be used to "generate" the bean metadata from a few parameters. In the example above it would be something like: | public class URLClassLoaderDeployment extends AbstractDeployment | { | /** with getters and setters */ | private URL url; | | public List getBeans() | { | // Generate the bean metadata here | } | } | So the xml might look something like: | <urlclassloader url="whatever"/> | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863483#3863483 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863483 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development