Class ACCAppClientArchivist

  • All Implemented Interfaces:
    org.glassfish.hk2.api.PostConstruct

    @Service
    @PerLookup
    public class ACCAppClientArchivist
    extends AppClientArchivist
    implements org.glassfish.hk2.api.PostConstruct
    AppClientArchivist that does not warn if both the GlassFish and the legacy Sun runtime descriptors are present.

    The ACC uses a MultiReadableArchive to essentially merge the contents of the generated app client JAR with the developer's original app client JAR. The generated file contains a generated GlassFish runtime descriptor. If the developer's app client contains a legacy sun-application-client.xml descriptor, then the normal archivist logic would detect that both the GlassFish DD and the developer's legacy sun-application-client.xml were present in the merged contents and it would log a warning.

    We prevent such warnings by overriding the method which reads the runtime deployment descriptor.

    Author:
    Tim Quinn
    • Constructor Detail

      • ACCAppClientArchivist

        public ACCAppClientArchivist()