[jboss-dev-forums] [Embedded JBoss Development] - Re: ShrinkWrap - Descriptors

aslak do-not-reply at jboss.com
Wed Sep 30 03:30:14 EDT 2009


Not sure its the right place for it, but the road is very short for the importer/exporter APIs to be implemented the same way.


  |        new MemoryMapArchiveImpl()
  |             .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");
  | 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257793#4257793

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257793



More information about the jboss-dev-forums mailing list