@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,
org.glassfish.api.deployment.archive.ReadableArchive in,
org.glassfish.api.deployment.archive.WritableArchive out)
writes an application deployment descriptors
|
protected void |
write(BundleDescriptor bundle,
Archivist archivist,
org.glassfish.api.deployment.archive.ReadableArchive in,
org.glassfish.api.deployment.archive.WritableArchive out)
writes a bundle descriptor
|
@Inject protected ArchivistFactory archivistFactory
public void write(Application application, org.glassfish.api.deployment.archive.ReadableArchive in, org.glassfish.api.deployment.archive.WritableArchive out) throws IOException
the - application objectthe - abstract archiveIOExceptionprotected void write(BundleDescriptor bundle, Archivist archivist, org.glassfish.api.deployment.archive.ReadableArchive in, org.glassfish.api.deployment.archive.WritableArchive out) throws IOException
the - bundle descriptorthe - archivist responsible for writing such bundle typethe - archive to write toIOExceptionCopyright © 2013. All Rights Reserved.