Class EjbInWarArchivist

java.lang.Object
com.sun.enterprise.deployment.archivist.ExtensionsArchivist
org.glassfish.ejb.deployment.archivist.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, standardDD
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<com.sun.enterprise.deployment.io.ConfigurationDeploymentDescriptorFile>
    getConfigurationDDFiles(org.glassfish.deployment.common.RootDeploymentDescriptor descriptor)
     
    org.glassfish.deployment.common.RootDeploymentDescriptor
     
    com.sun.enterprise.deployment.annotation.impl.ModuleScanner
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • EjbInWarArchivist

      public EjbInWarArchivist()
  • Method Details

    • 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