Java EE 5 SDK

com.sun.appserv.management.deploy
Interface DeploymentSource

All Superinterfaces:
MapCapable
All Known Implementing Classes:
DeploymentSourceImpl

public interface DeploymentSource
extends MapCapable

Abstraction for archives delivery for a deployment operation This interface may be instantiated by using routines in DeploymentSupport


Field Summary
static String DEPLOYMENT_SOURCE_CLASS_NAME
          Value of the MAP_CAPABLE_TYPE_KEY when turned into a Map.
 
Fields inherited from interface com.sun.appserv.management.base.MapCapable
MAP_CAPABLE_CLASS_NAME_KEY
 
Method Summary
 File getArchive()
          (Optional)
 JarInputStream getArchiveAsStream()
           
 String[] getEntriesAdded()
          In case of a partial delivery.
 String[] getEntriesDeleted()
          In case of a partial delivery.
 String[] getEntriesRemoved()
          In case of a partial archive delivery.
 boolean isCompleteArchive()
           
 
Methods inherited from interface com.sun.appserv.management.base.MapCapable
asMap, getMapClassName
 

Field Detail

DEPLOYMENT_SOURCE_CLASS_NAME

static final String DEPLOYMENT_SOURCE_CLASS_NAME
Value of the MAP_CAPABLE_TYPE_KEY when turned into a Map.

See Also:
Constant Field Values
Method Detail

getArchive

File getArchive()
(Optional)

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

getArchiveAsStream

JarInputStream getArchiveAsStream()
                                  throws IOException
Returns:
a JarInputStream on the archive.
Throws:
IOException

isCompleteArchive

boolean isCompleteArchive()
Returns:
true if this archive is complete or false if it is a partial delivery (redeploy).

getEntriesAdded

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

Returns:
entries added iterator

getEntriesRemoved

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

Returns:
entries removed iterator

getEntriesDeleted

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

Returns:
entries deleted iterator

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.