[jboss-dev-forums] [Embedded JBoss Development] - Re: ShrinkWrap - Descriptors
aslak
do-not-reply at jboss.com
Tue Sep 29 09:36:38 EDT 2009
@ALR @epbernard
Regardless of the Descriptors, we need the basic function that "specializes" gives us. A way of moving a nested archive into a new 'extension' type.
The best example I have as for now is:
| EnterpriseArchive ear = ..
| WarArchive war = ear.getPathAsA("my.war", WebArchive.class)
|
In this case, since EnterpriseArchive and WebArchive have a relation it's probably better to have WebArchive archive = EnterpriseArchive.getWebModule(path); but i would like this to be just a struct impl over something like archive.getPathAsA(path, WebArchive.class)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257657#4257657
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257657
More information about the jboss-dev-forums
mailing list