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
-
-
Constructor Summary
Constructors Constructor Description EjbInWarArchivist()
-
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.RootDeploymentDescriptorgetDefaultDescriptor()com.sun.enterprise.deployment.annotation.impl.ModuleScannergetScanner()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 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 path
-
-
-
Method Detail
-
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 IOExceptionwrites 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
-
-