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)
RootDeploymentDescriptor
getDefaultDescriptor()
DeploymentDescriptorFile
getStandardDDFile(RootDeploymentDescriptor descriptor)
Object
open(Archivist main, ReadableArchive archive, RootDeploymentDescriptor descriptor)
Read the standard deployment descriptor of the extensionboolean
supportsModuleType(ArchiveType moduleType)
void
writeDeploymentDescriptors(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:
getStandardDDFile
in classExtensionsArchivist
- Returns:
- the DeploymentDescriptorFile responsible for handling standard deployment descriptor
-
getConfigurationDDFiles
public List<ConfigurationDeploymentDescriptorFile> getConfigurationDDFiles(RootDeploymentDescriptor descriptor)
- Specified by:
getConfigurationDDFiles
in classExtensionsArchivist
- Returns:
- the list of the DeploymentDescriptorFile responsible for handling the configuration deployment descriptors
-
supportsModuleType
public boolean supportsModuleType(ArchiveType moduleType)
- Specified by:
supportsModuleType
in 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:ExtensionsArchivist
Read the standard deployment descriptor of the extension- Overrides:
open
in classExtensionsArchivist
archive
- the archivedescriptor
- the main deployment descriptor- Returns:
- the extension descriptor object
- Throws:
IOException
SAXParseException
-
getDefaultDescriptor
public RootDeploymentDescriptor getDefaultDescriptor()
- Specified by:
getDefaultDescriptor
in 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:
writeDeploymentDescriptors
in classExtensionsArchivist
- Parameters:
in
- the input archiveout
- the abstract archive file to write to- Throws:
IOException
-
-