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 EjbArchivist()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetArchiveExtension()List<com.sun.enterprise.deployment.io.ConfigurationDeploymentDescriptorFile>getConfigurationDDFiles()EjbBundleDescriptorImplgetDefaultBundleDescriptor()org.glassfish.api.deployment.archive.ArchiveTypegetModuleType()com.sun.enterprise.deployment.io.DeploymentDescriptorFilegetStandardDDFile()protected booleanpostHandles(org.glassfish.api.deployment.archive.ReadableArchive abstractArchive)protected voidpostOpen(EjbBundleDescriptorImpl descriptor, org.glassfish.api.deployment.archive.ReadableArchive archive)perform any post deployment descriptor reading actionvoidsetDescriptor(com.sun.enterprise.deployment.Application descriptor)Set the DOL descriptor for this Archivist, used by super classesvoidvalidate(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
-
-
-
-
Method Detail
-
getModuleType
public org.glassfish.api.deployment.archive.ArchiveType getModuleType()
- Specified by:
getModuleTypein classcom.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:
getStandardDDFilein classcom.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:
getConfigurationDDFilesin classcom.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:
getDefaultBundleDescriptorin classcom.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:
postOpenin classcom.sun.enterprise.deployment.archivist.Archivist<EjbBundleDescriptorImpl>- Parameters:
descriptor- deployment descriptor for the modulearchive- 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:
validatein classcom.sun.enterprise.deployment.archivist.Archivist<EjbBundleDescriptorImpl>
-
getArchiveExtension
protected String getArchiveExtension()
- Specified by:
getArchiveExtensionin classcom.sun.enterprise.deployment.archivist.Archivist<EjbBundleDescriptorImpl>
-
postHandles
protected boolean postHandles(org.glassfish.api.deployment.archive.ReadableArchive abstractArchive) throws IOException- Specified by:
postHandlesin classcom.sun.enterprise.deployment.archivist.Archivist<EjbBundleDescriptorImpl>- Throws:
IOException
-
-