Class WebServicesArchivist
- java.lang.Object
-
- com.sun.enterprise.deployment.archivist.ExtensionsArchivist
-
- org.glassfish.webservices.archivist.WebServicesArchivist
-
@Service @PerLookup public class WebServicesArchivist extends ExtensionsArchivist
Extension Archivist for webservices.
-
-
Field Summary
-
Fields inherited from class com.sun.enterprise.deployment.archivist.ExtensionsArchivist
confDDFiles, deplLogger, standardDD
-
-
Constructor Summary
Constructors Constructor Description WebServicesArchivist()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ConfigurationDeploymentDescriptorFile>getConfigurationDDFiles(RootDeploymentDescriptor descriptor)RootDeploymentDescriptorgetDefaultDescriptor()DeploymentDescriptorFilegetStandardDDFile(RootDeploymentDescriptor descriptor)Objectopen(Archivist main, ReadableArchive archive, RootDeploymentDescriptor descriptor)Read the standard deployment descriptor of the extensionbooleansupportsModuleType(ArchiveType moduleType)voidwriteDeploymentDescriptors(Archivist main, BundleDescriptor descriptor, ReadableArchive in, 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, getScanner, readRuntimeDeploymentDescriptor, writeRuntimeDeploymentDescriptors, writeStandardDeploymentDescriptors
-
-
-
-
Method Detail
-
getStandardDDFile
public DeploymentDescriptorFile getStandardDDFile(RootDeploymentDescriptor descriptor)
- Specified by:
getStandardDDFilein classExtensionsArchivist- Returns:
- the DeploymentDescriptorFile responsible for handling standard deployment descriptor
-
getConfigurationDDFiles
public List<ConfigurationDeploymentDescriptorFile> getConfigurationDDFiles(RootDeploymentDescriptor descriptor)
- Specified by:
getConfigurationDDFilesin classExtensionsArchivist- Returns:
- the list of the DeploymentDescriptorFile responsible for handling the configuration deployment descriptors
-
supportsModuleType
public boolean supportsModuleType(ArchiveType moduleType)
- Specified by:
supportsModuleTypein classExtensionsArchivist- Returns:
- whether this extension archivist supports this module type
-
open
public Object open(Archivist main, ReadableArchive archive, RootDeploymentDescriptor descriptor) throws IOException, SAXParseException
Description copied from class:ExtensionsArchivistRead the standard deployment descriptor of the extension- Overrides:
openin classExtensionsArchivistarchive- the archivedescriptor- the main deployment descriptor- Returns:
- the extension descriptor object
- Throws:
IOExceptionSAXParseException
-
getDefaultDescriptor
public RootDeploymentDescriptor getDefaultDescriptor()
- Specified by:
getDefaultDescriptorin classExtensionsArchivist- Returns:
- a default Descriptor for this archivist
-
writeDeploymentDescriptors
public void writeDeploymentDescriptors(Archivist main, BundleDescriptor descriptor, ReadableArchive in, WritableArchive out) throws IOException
writes the deployment descriptors (standard and runtime) to a JarFile using the right deployment descriptor path- Overrides:
writeDeploymentDescriptorsin classExtensionsArchivist- Parameters:
in- the input archiveout- the abstract archive file to write to- Throws:
IOException
-
-