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 -
Method Summary
Modifier and TypeMethodDescriptionList<com.sun.enterprise.deployment.io.ConfigurationDeploymentDescriptorFile>getConfigurationDDFiles(org.glassfish.deployment.common.RootDeploymentDescriptor descriptor) org.glassfish.deployment.common.RootDeploymentDescriptorcom.sun.enterprise.deployment.annotation.impl.ModuleScannerReturns 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 versioncom.sun.enterprise.deployment.io.DeploymentDescriptorFilegetStandardDDFile(org.glassfish.deployment.common.RootDeploymentDescriptor descriptor) booleansupportsModuleType(org.glassfish.api.deployment.archive.ArchiveType moduleType) voidwriteDeploymentDescriptors(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 pathMethods inherited from class com.sun.enterprise.deployment.archivist.ExtensionsArchivist
addExtension, getConfigurationDDFile, open, readRuntimeDeploymentDescriptor, writeRuntimeDeploymentDescriptors, writeStandardDeploymentDescriptors
-
Constructor Details
-
EjbInWarArchivist
public EjbInWarArchivist()
-
-
Method Details
-
getStandardDDFile
public com.sun.enterprise.deployment.io.DeploymentDescriptorFile getStandardDDFile(org.glassfish.deployment.common.RootDeploymentDescriptor descriptor) - Specified by:
getStandardDDFilein classcom.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:
getConfigurationDDFilesin classcom.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:
getScannerin classcom.sun.enterprise.deployment.archivist.ExtensionsArchivist
-
supportsModuleType
public boolean supportsModuleType(org.glassfish.api.deployment.archive.ArchiveType moduleType) - Specified by:
supportsModuleTypein classcom.sun.enterprise.deployment.archivist.ExtensionsArchivist
-
getDefaultDescriptor
public org.glassfish.deployment.common.RootDeploymentDescriptor getDefaultDescriptor()- Specified by:
getDefaultDescriptorin classcom.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:
writeDeploymentDescriptorsin classcom.sun.enterprise.deployment.archivist.ExtensionsArchivist- Parameters:
in- the input archiveout- the abstract archive file to write to- Throws:
IOException
-