[shrinkwrap-issues] [JBoss JIRA] Assigned: (SHRINKWRAP-303) Add getAsType(Class<Archive<?>> archiveType)
Andrew Rubinger (JIRA)
jira-events at lists.jboss.org
Mon Jul 11 14:57:23 EDT 2011
[ https://issues.jboss.org/browse/SHRINKWRAP-303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Rubinger reassigned SHRINKWRAP-303:
------------------------------------------
Assignee: Davide D'Alto
> Add getAsType(Class<Archive<?>> archiveType)
> --------------------------------------------
>
> Key: SHRINKWRAP-303
> URL: https://issues.jboss.org/browse/SHRINKWRAP-303
> Project: ShrinkWrap
> Issue Type: Task
> Reporter: Andrew Rubinger
> Assignee: Davide D'Alto
>
> We shouldn't require users to specify an ArchiveFormat for Archive.getAsType. This, in the large majority of cases, can be inferred from the Archive type passed in (for instance, WebArchive.class generally means ArchiveFormat.ZIP).
> Add to the META-INF/services files for each archive type the default archive format, and use this in a getAsType(Class<Archive<?>> archiveType, ArchivePath path) method to delegate to the already in-place getAsType(Class<Archive<?>> archiveType, ArchivePath path, ArchiveFormat format)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the shrinkwrap-issues
mailing list