[jboss-dev-forums] [Design of Embedded JBoss] - Re: Covarient returns from a storage delagate
ALRubinger
do-not-reply at jboss.com
Fri Aug 21 03:58:14 EDT 2009
As Aslak describes.
With the remaining question mark of:
public JavaArchive add(Asset... assets)
...pursuant to our Asset.getPath discussion. But definitely:
public JavaArchive addClasses(Class<?>... classes)
| {
| for(Class<?> clazz : classes)
| {
| ClassAsset asset = new ClassAsset(clazz);
| Path path = new BasicPath(ClassAssetUtil.convertClassNameToResourceName(clazz));
| storageDelegate.add(path,asset);
| }
| }
S,
ALR
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250799#4250799
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250799
More information about the jboss-dev-forums
mailing list