Class EjbArchivist

java.lang.Object
com.sun.enterprise.deployment.archivist.Archivist<EjbBundleDescriptorImpl>
org.glassfish.ejb.deployment.archivist.EjbArchivist

@Service @PerLookup public class EjbArchivist extends com.sun.enterprise.deployment.archivist.Archivist<EjbBundleDescriptorImpl>
This class is responsible for handling J2EE EJB Bundlearchive files.
Author:
Jerome Dochez
  • Field Summary

    Fields inherited from class com.sun.enterprise.deployment.archivist.Archivist

    annotationProcessingRequested, APPCLIENT_EXTENSION, APPLICATION_EXTENSION, classLoader, confDDFiles, CONNECTOR_EXTENSION, descriptor, EJB_EXTENSION, extensionsArchivists, habitat, handleRuntimeInfo, locator, logger, manifest, MANIFEST_VERSION_VALUE, path, standardDD, UPLOAD_EXTENSION, WEB_EXTENSION, WEB_FRAGMENT_EXTENSION
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
     
    List<com.sun.enterprise.deployment.io.ConfigurationDeploymentDescriptorFile>
     
     
    org.glassfish.api.deployment.archive.ArchiveType
     
    com.sun.enterprise.deployment.io.DeploymentDescriptorFile
     
    protected boolean
    postHandles(org.glassfish.api.deployment.archive.ReadableArchive abstractArchive)
     
    protected void
    postOpen(EjbBundleDescriptorImpl descriptor, org.glassfish.api.deployment.archive.ReadableArchive archive)
    perform any post deployment descriptor reading action
    void
    setDescriptor(com.sun.enterprise.deployment.Application descriptor)
    Set the DOL descriptor for this Archivist, used by super classes
    void
    validate(ClassLoader aClassLoader)
    validates the DOL Objects associated with this archivist, usually it requires that a class loader being set on this archivist or passed as a parameter

    Methods inherited from class com.sun.enterprise.deployment.archivist.Archivist

    addFileToArchive, copyAnEntry, copyExtraElements, copyInto, copyInto, copyInto, copyInto, copyInto, copyJarElements, copyStandardDeploymentDescriptors, createModuleDescriptor, getAllWebservicesDeploymentDescriptorPaths, getAnnotationErrorHandler, getClassLoader, getClassPath, getDeploymentDescriptorPath, getDescriptor, getExtensionArchivists, getLibraries, getListOfFilesToSkip, getManifest, getPath, getRuntimeDeploymentDescriptorPath, getRuntimeXMLValidation, getRuntimeXMLValidationLevel, getScanner, getTempFile, getTempFile, getUniqueEntryFilenameFor, getXMLValidation, getXMLValidationLevel, handles, hasRuntimeDeploymentDescriptor, hasStandardDeploymentDescriptor, initializeContext, isAnnotationProcessingRequested, isHandlingRuntimeInfo, isProcessAnnotation, open, open, open, open, open, open, openWith, performOptionalPkgDependenciesCheck, postAnnotationProcess, postRuntimeDDsRead, postStandardDDsRead, postValidate, printDescriptor, processAnnotations, processAnnotations, readAnnotations, readAnnotations, readMetaInfo, readRuntimeDeploymentDescriptor, readRuntimeDeploymentDescriptor, readStandardDeploymentDescriptor, renameTmp, setAnnotationErrorHandler, setAnnotationProcessingRequested, setArchiveUri, setClassLoader, setClassPath, setDescriptor, setExtensionArchivists, setHandleRuntimeInfo, setManifest, setModuleDescriptor, setRuntimeXMLValidation, setRuntimeXMLValidationLevel, setXMLValidation, setXMLValidationLevel, write, write, write, write, writeContents, writeContents, writeContents, writeDeploymentDescriptors, writeExtensionDeploymentDescriptors, writeRuntimeDeploymentDescriptors, writeStandardDeploymentDescriptors

    Methods inherited from class java.lang.Object

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

    • EjbArchivist

      public EjbArchivist()
  • Method Details

    • getModuleType

      public org.glassfish.api.deployment.archive.ArchiveType getModuleType()
      Specified by:
      getModuleType in class com.sun.enterprise.deployment.archivist.Archivist<EjbBundleDescriptorImpl>
      Returns:
      the module type handled by this archivist as defined in the application DTD
    • setDescriptor

      public void setDescriptor(com.sun.enterprise.deployment.Application descriptor)
      Set the DOL descriptor for this Archivist, used by super classes
    • getStandardDDFile

      public com.sun.enterprise.deployment.io.DeploymentDescriptorFile getStandardDDFile()
      Specified by:
      getStandardDDFile in class com.sun.enterprise.deployment.archivist.Archivist<EjbBundleDescriptorImpl>
      Returns:
      the DeploymentDescriptorFile responsible for handling standard deployment descriptor
    • getConfigurationDDFiles

      public List<com.sun.enterprise.deployment.io.ConfigurationDeploymentDescriptorFile> getConfigurationDDFiles()
      Specified by:
      getConfigurationDDFiles in class com.sun.enterprise.deployment.archivist.Archivist<EjbBundleDescriptorImpl>
      Returns:
      the list of the DeploymentDescriptorFile responsible for handling the configuration deployment descriptors
    • getDefaultBundleDescriptor

      public EjbBundleDescriptorImpl getDefaultBundleDescriptor()
      Specified by:
      getDefaultBundleDescriptor in class com.sun.enterprise.deployment.archivist.Archivist<EjbBundleDescriptorImpl>
      Returns:
      a default BundleDescriptor for this archivist
    • postOpen

      protected void postOpen(EjbBundleDescriptorImpl descriptor, org.glassfish.api.deployment.archive.ReadableArchive archive) throws IOException
      perform any post deployment descriptor reading action
      Overrides:
      postOpen in class com.sun.enterprise.deployment.archivist.Archivist<EjbBundleDescriptorImpl>
      Parameters:
      descriptor - deployment descriptor for the module
      archive - the module archive
      Throws:
      IOException
    • validate

      public void validate(ClassLoader aClassLoader)
      validates the DOL Objects associated with this archivist, usually it requires that a class loader being set on this archivist or passed as a parameter
      Overrides:
      validate in class com.sun.enterprise.deployment.archivist.Archivist<EjbBundleDescriptorImpl>
    • getArchiveExtension

      protected String getArchiveExtension()
      Specified by:
      getArchiveExtension in class com.sun.enterprise.deployment.archivist.Archivist<EjbBundleDescriptorImpl>
    • postHandles

      protected boolean postHandles(org.glassfish.api.deployment.archive.ReadableArchive abstractArchive) throws IOException
      Specified by:
      postHandles in class com.sun.enterprise.deployment.archivist.Archivist<EjbBundleDescriptorImpl>
      Throws:
      IOException