FileDocCategorySizeDatePackage
DeploymentSource.javaAPI DocGlassfish v2 API3523Fri May 04 22:30:48 BST 2007com.sun.appserv.management.deploy

DeploymentSource

public interface DeploymentSource implements com.sun.appserv.management.base.MapCapable
Abstraction for archives delivery for a deployment operation This interface may be instantiated by using routines in {@link com.sun.appserv.management.deploy.DeploymentSupport}

Fields Summary
public static final String
DEPLOYMENT_SOURCE_CLASS_NAME
Value of the MAP_CAPABLE_TYPE_KEY when turned into a Map.
Constructors Summary
Methods Summary
public java.io.FilegetArchive()
(Optional)

return
the archive as a file handle if possible otherwise return null.

public java.util.jar.JarInputStreamgetArchiveAsStream()

return
a JarInputStream on the archive.

public java.lang.String[]getEntriesAdded()
In case of a partial delivery.

return
entries added iterator

public java.lang.String[]getEntriesDeleted()
In case of a partial delivery.

return
entries deleted iterator

public java.lang.String[]getEntriesRemoved()
In case of a partial archive delivery.

return
entries removed iterator

public booleanisCompleteArchive()

return
true if this archive is complete or false if it is a partial delivery (redeploy).