Class EarHandler

  • All Implemented Interfaces:
    org.glassfish.api.deployment.archive.ArchiveHandler, org.glassfish.api.deployment.archive.CompositeHandler

    @Service(name="ear")
    public class EarHandler
    extends com.sun.enterprise.deploy.shared.AbstractArchiveHandler
    implements org.glassfish.api.deployment.archive.CompositeHandler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected PermissionCollection earDeclaredPC  
      • Fields inherited from class com.sun.enterprise.deploy.shared.AbstractArchiveHandler

        deplLogger
      • Fields inherited from class org.glassfish.internal.deployment.GenericHandler

        habitat
    • Constructor Summary

      Constructors 
      Constructor Description
      EarHandler()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean accept​(org.glassfish.api.deployment.archive.ReadableArchive source, String entryName)  
      void expand​(org.glassfish.api.deployment.archive.ReadableArchive source, org.glassfish.api.deployment.archive.WritableArchive target, org.glassfish.api.deployment.DeploymentContext context)  
      String getArchiveType()  
      ClassLoader getClassLoader​(ClassLoader parent, org.glassfish.api.deployment.DeploymentContext context)  
      String getVersionIdentifier​(org.glassfish.api.deployment.archive.ReadableArchive archive)  
      boolean handles​(org.glassfish.api.deployment.archive.ReadableArchive archive)  
      void initCompositeMetaData​(org.glassfish.api.deployment.DeploymentContext context)  
      protected void processEEPermissions​(org.glassfish.api.deployment.DeploymentContext dc)  
      • Methods inherited from class com.sun.enterprise.deploy.shared.AbstractArchiveHandler

        getManifestLibraries, getXMLInputFactory
      • Methods inherited from class org.glassfish.internal.deployment.GenericHandler

        getClassPathURIs, getDefaultApplicationName, getDefaultApplicationName, getDefaultApplicationNameFromArchiveName, getManifest, requiresAnnotationScanning
      • Methods inherited from interface org.glassfish.api.deployment.archive.ArchiveHandler

        getClassPathURIs, getDefaultApplicationName, getDefaultApplicationName, getManifest, requiresAnnotationScanning
    • Constructor Detail

      • EarHandler

        public EarHandler()
    • Method Detail

      • getArchiveType

        public String getArchiveType()
        Specified by:
        getArchiveType in interface org.glassfish.api.deployment.archive.ArchiveHandler
      • getVersionIdentifier

        public String getVersionIdentifier​(org.glassfish.api.deployment.archive.ReadableArchive archive)
        Specified by:
        getVersionIdentifier in interface org.glassfish.api.deployment.archive.ArchiveHandler
        Overrides:
        getVersionIdentifier in class org.glassfish.internal.deployment.GenericHandler
      • handles

        public boolean handles​(org.glassfish.api.deployment.archive.ReadableArchive archive)
                        throws IOException
        Specified by:
        handles in interface org.glassfish.api.deployment.archive.ArchiveHandler
        Throws:
        IOException
      • expand

        public void expand​(org.glassfish.api.deployment.archive.ReadableArchive source,
                           org.glassfish.api.deployment.archive.WritableArchive target,
                           org.glassfish.api.deployment.DeploymentContext context)
                    throws IOException
        Specified by:
        expand in interface org.glassfish.api.deployment.archive.ArchiveHandler
        Overrides:
        expand in class org.glassfish.internal.deployment.GenericHandler
        Throws:
        IOException
      • getClassLoader

        public ClassLoader getClassLoader​(ClassLoader parent,
                                          org.glassfish.api.deployment.DeploymentContext context)
        Specified by:
        getClassLoader in interface org.glassfish.api.deployment.archive.ArchiveHandler
      • processEEPermissions

        protected void processEEPermissions​(org.glassfish.api.deployment.DeploymentContext dc)
      • accept

        public boolean accept​(org.glassfish.api.deployment.archive.ReadableArchive source,
                              String entryName)
        Specified by:
        accept in interface org.glassfish.api.deployment.archive.CompositeHandler
      • initCompositeMetaData

        public void initCompositeMetaData​(org.glassfish.api.deployment.DeploymentContext context)
        Specified by:
        initCompositeMetaData in interface org.glassfish.api.deployment.archive.CompositeHandler