[shrinkwrap-issues] [JBoss JIRA] Created: (SHRINKWRAP-203) Should be able to get a added Archive as a type
Aslak Knutsen (JIRA)
jira-events at lists.jboss.org
Thu Jul 8 05:23:46 EDT 2010
Should be able to get a added Archive as a type
-----------------------------------------------
Key: SHRINKWRAP-203
URL: https://jira.jboss.org/browse/SHRINKWRAP-203
Project: ShrinkWrap
Issue Type: Feature Request
Components: api, impl-base
Affects Versions: 1.0.0-alpha-10
Reporter: Aslak Knutsen
It should be possible to "get" a nested Archive out of the parent Archive without having to cast/rely on impl details:
Archive<?> applicationArchive = ((ArchiveAsset)archive.get(ArchivePaths.create("test.war")).getAsset()).getArchive();
A simple design could be:
WebArchive applicationArchive = archive.get(WebArchive.class, ArchivePaths.create("test.war"));
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the shrinkwrap-issues
mailing list