]
Andrew Rubinger updated SHRINKWRAP-303:
---------------------------------------
Summary: Add getAsType(Class<Archive<?>> archiveType, ArchivePath) (was:
Add getAsType(Class<Archive<?>> archiveType))
Add getAsType(Class<Archive<?>> archiveType,
ArchivePath)
---------------------------------------------------------
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: