Uploaded image for project: 'ShrinkWrap'
  1. ShrinkWrap
  2. SHRINKWRAP-245

Evaluate the need for EnterpriseArchive.addApplicationResource

    Details

    • Type: Feature Request
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.0-alpha-11
    • Fix Version/s: None
    • Component/s: api, impl-base
    • Labels:
      None

      Description

      EnterpriseArchive has it's own set of addApplicationResource methods, but compared to WebArchive, applicationResources and the ResourceContainer is mapped to the same location. Is the addApplicationResources methods needed at all? Should they simply be replaced by what is allready on the ResourceContainer.

        Gliffy Diagrams

          Activity

          Hide
          ljnelson Laird Nelson added a comment -

          And addManifestResource(): in an EnterpriseArchive isn't that the same thing as well?

          Show
          ljnelson Laird Nelson added a comment - And addManifestResource(): in an EnterpriseArchive isn't that the same thing as well?
          Hide
          aslak Aslak Knutsen added a comment -

          Same location for EnterpriseArchives yes, but not the same.

          A Archive consist of multiple Containers, e.g. ManifestContainer, ResourceContainer, ClassContainer etc depending on what type of 'Assets' it supports.. EnterpriseArchive supports both Manifest and Resources..

          http://community.jboss.org/wiki/Containerrootsperspecarchive

          (there has been questions tho, if EnterpriseArchives actually supports resources, undetermined thus far.)

          Show
          aslak Aslak Knutsen added a comment - Same location for EnterpriseArchives yes, but not the same. A Archive consist of multiple Containers, e.g. ManifestContainer, ResourceContainer, ClassContainer etc depending on what type of 'Assets' it supports.. EnterpriseArchive supports both Manifest and Resources.. http://community.jboss.org/wiki/Containerrootsperspecarchive (there has been questions tho, if EnterpriseArchives actually supports resources, undetermined thus far.)

            People

            • Assignee:
              Unassigned
              Reporter:
              aslak Aslak Knutsen
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Development