com.sun.enterprise.deployment.archivist
Class DescriptorArchivist

java.lang.Object
  extended by com.sun.enterprise.deployment.archivist.DescriptorArchivist

@Service
public class DescriptorArchivist
extends java.lang.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
protected  ArchivistFactory archivistFactory
           
 
Constructor Summary
DescriptorArchivist()
           
 
Method Summary
 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
 void write(BundleDescriptor bundle, ReadableArchive in, WritableArchive out)
          writes a bundle descriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

archivistFactory

protected ArchivistFactory archivistFactory
Constructor Detail

DescriptorArchivist

public DescriptorArchivist()
Method Detail

write

public void write(Application application,
                  ReadableArchive in,
                  WritableArchive out)
           throws java.io.IOException
writes an application deployment descriptors

Parameters:
the - application object
the - abstract archive
Throws:
java.io.IOException

write

public void write(BundleDescriptor bundle,
                  ReadableArchive in,
                  WritableArchive out)
           throws java.io.IOException
writes a bundle descriptor

Parameters:
the - bundle descriptor
the - abstract archive
Throws:
java.io.IOException

write

protected void write(BundleDescriptor bundle,
                     Archivist archivist,
                     ReadableArchive in,
                     WritableArchive out)
              throws java.io.IOException
writes a bundle descriptor

Parameters:
the - bundle descriptor
the - archivist responsible for writing such bundle type
the - archive to write to
Throws:
java.io.IOException


Copyright © 2012 GlassFish Community. All Rights Reserved.