Class EjbInWarArchivist


  • @Service
    @PerLookup
    public class EjbInWarArchivist
    extends com.sun.enterprise.deployment.archivist.ExtensionsArchivist
    Author:
    Mahesh Kannan
    • Field Summary

      • Fields inherited from class com.sun.enterprise.deployment.archivist.ExtensionsArchivist

        confDDFiles, deplLogger, standardDD
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      List<com.sun.enterprise.deployment.io.ConfigurationDeploymentDescriptorFile> getConfigurationDDFiles​(org.glassfish.deployment.common.RootDeploymentDescriptor descriptor)  
      org.glassfish.deployment.common.RootDeploymentDescriptor getDefaultDescriptor()  
      com.sun.enterprise.deployment.annotation.impl.ModuleScanner getScanner()
      Returns the scanner for this archivist, usually it is the scanner registered with the same module type as this archivist, but subclasses can return a different version
      com.sun.enterprise.deployment.io.DeploymentDescriptorFile getStandardDDFile​(org.glassfish.deployment.common.RootDeploymentDescriptor descriptor)  
      boolean supportsModuleType​(org.glassfish.api.deployment.archive.ArchiveType moduleType)  
      void writeDeploymentDescriptors​(com.sun.enterprise.deployment.archivist.Archivist main, com.sun.enterprise.deployment.BundleDescriptor descriptor, org.glassfish.api.deployment.archive.ReadableArchive in, org.glassfish.api.deployment.archive.WritableArchive out)
      writes the deployment descriptors (standard and runtime) to a JarFile using the right deployment descriptor path
      • Methods inherited from class com.sun.enterprise.deployment.archivist.ExtensionsArchivist

        addExtension, getConfigurationDDFile, open, readRuntimeDeploymentDescriptor, writeRuntimeDeploymentDescriptors, writeStandardDeploymentDescriptors
    • Constructor Detail

      • EjbInWarArchivist

        public EjbInWarArchivist()
    • Method Detail

      • getStandardDDFile

        public com.sun.enterprise.deployment.io.DeploymentDescriptorFile getStandardDDFile​(org.glassfish.deployment.common.RootDeploymentDescriptor descriptor)
        Specified by:
        getStandardDDFile in class com.sun.enterprise.deployment.archivist.ExtensionsArchivist
        Returns:
        the DeploymentDescriptorFile responsible for handling standard deployment descriptor
      • getConfigurationDDFiles

        public List<com.sun.enterprise.deployment.io.ConfigurationDeploymentDescriptorFile> getConfigurationDDFiles​(org.glassfish.deployment.common.RootDeploymentDescriptor descriptor)
        Specified by:
        getConfigurationDDFiles in class com.sun.enterprise.deployment.archivist.ExtensionsArchivist
        Returns:
        the list of the DeploymentDescriptorFile responsible for handling the configuration deployment descriptors
      • getScanner

        public com.sun.enterprise.deployment.annotation.impl.ModuleScanner getScanner()
        Returns the scanner for this archivist, usually it is the scanner registered with the same module type as this archivist, but subclasses can return a different version
        Overrides:
        getScanner in class com.sun.enterprise.deployment.archivist.ExtensionsArchivist
      • supportsModuleType

        public boolean supportsModuleType​(org.glassfish.api.deployment.archive.ArchiveType moduleType)
        Specified by:
        supportsModuleType in class com.sun.enterprise.deployment.archivist.ExtensionsArchivist
      • getDefaultDescriptor

        public org.glassfish.deployment.common.RootDeploymentDescriptor getDefaultDescriptor()
        Specified by:
        getDefaultDescriptor in class com.sun.enterprise.deployment.archivist.ExtensionsArchivist
      • writeDeploymentDescriptors

        public void writeDeploymentDescriptors​(com.sun.enterprise.deployment.archivist.Archivist main,
                                               com.sun.enterprise.deployment.BundleDescriptor descriptor,
                                               org.glassfish.api.deployment.archive.ReadableArchive in,
                                               org.glassfish.api.deployment.archive.WritableArchive out)
                                        throws IOException
        writes the deployment descriptors (standard and runtime) to a JarFile using the right deployment descriptor path
        Overrides:
        writeDeploymentDescriptors in class com.sun.enterprise.deployment.archivist.ExtensionsArchivist
        Parameters:
        in - the input archive
        out - the abstract archive file to write to
        Throws:
        IOException