@Service public class DescriptorArchivist extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ArchivistFactory |
archivistFactory |
| Constructor and Description |
|---|
DescriptorArchivist() |
| Modifier and Type | Method and Description |
|---|---|
void |
write(Application application,
ReadableArchive in,
WritableArchive out)
writes an application deployment descriptors
|
protected void |
write(BundleDescriptor bundle,
Archivist archivist,
ReadableArchive in,
WritableArchive out)
writes a bundle descriptor
|
@Inject protected ArchivistFactory archivistFactory
public void write(Application application, ReadableArchive in, WritableArchive out) throws IOException
the - application objectthe - abstract archiveIOExceptionprotected void write(BundleDescriptor bundle, Archivist archivist, ReadableArchive in, WritableArchive out) throws IOException
the - bundle descriptorthe - archivist responsible for writing such bundle typethe - archive to write toIOExceptionCopyright © 2019. All rights reserved.