Class DescriptorArchivist
- java.lang.Object
-
- com.sun.enterprise.deployment.archivist.DescriptorArchivist
-
@Service public class DescriptorArchivist extends Object
This class is responsible for writing deployment descriptors after a deployment action has occured to a abstract archive instance.- Author:
- Jerome Dochez
-
-
Field Summary
Fields Modifier and Type Field Description protected ArchivistFactory
archivistFactory
-
Constructor Summary
Constructors Constructor Description DescriptorArchivist()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
write(Application application, ReadableArchive in, WritableArchive out)
writes an application deployment descriptorsprotected void
write(BundleDescriptor bundle, Archivist archivist, ReadableArchive in, WritableArchive out)
writes a bundle descriptor
-
-
-
Field Detail
-
archivistFactory
@Inject protected ArchivistFactory archivistFactory
-
-
Method Detail
-
write
public void write(Application application, ReadableArchive in, WritableArchive out) throws IOException
writes an application deployment descriptors- Parameters:
the
- application objectthe
- abstract archive- Throws:
IOException
-
write
protected void write(BundleDescriptor bundle, Archivist archivist, ReadableArchive in, WritableArchive out) throws IOException
writes a bundle descriptor- Parameters:
the
- bundle descriptorthe
- archivist responsible for writing such bundle typethe
- archive to write to- Throws:
IOException
-
-