[shrinkwrap-issues] [JBoss JIRA] Created: (SHRINKWRAP-50) Create a 'Spercialize' style api

Aslak (JIRA) jira-events at lists.jboss.org
Sat Oct 10 05:44:06 EDT 2009


Create a 'Spercialize' style api
--------------------------------

                 Key: SHRINKWRAP-50
                 URL: https://jira.jboss.org/jira/browse/SHRINKWRAP-50
             Project: ShrinkWrap
          Issue Type: Task
          Components: api
            Reporter: Aslak


Create a unified api for creation, import, export, descriptor and type handling/swaping.

ie:

    Archives.create()
            .as(ZipImporter.class)
               .import("my.war")
            .as(WebArchiveDescriptor.class)
               .addListener(this.getClass())
               .addContextParameter("context-1", "value")
               .addServlet(Exception.class, "/*")
            .as(WebArchive.class)
               .addClass(this.getClass())
            .as(ZipExporter.class)
               .export("my-new.war");

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the shrinkwrap-issues mailing list