|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.appserv.management.base.MapCapableBase com.sun.appserv.management.deploy.DeploymentSourceImpl
public final class DeploymentSourceImpl
Field Summary | |
---|---|
static String |
ARCHIVE_FILE_KEY
Key corresponding to getArchive() |
static String |
ENTRIES_ADDED_KEY
Key corresponding to getEntriesAdded() |
static String |
ENTRIES_DELETED_KEY
Key corresponding to getEntriesDeleted() |
static String |
ENTRIES_REMOVED_KEY
Key corresponding to getEntriesRemoved() |
static String |
IS_COMPLETE_ARCHIVE_KEY
Key corresponding to isComplete() |
Fields inherited from interface com.sun.appserv.management.deploy.DeploymentSource |
---|
DEPLOYMENT_SOURCE_CLASS_NAME |
Fields inherited from interface com.sun.appserv.management.base.MapCapable |
---|
MAP_CAPABLE_CLASS_NAME_KEY |
Constructor Summary | |
---|---|
DeploymentSourceImpl(DeploymentSource src)
|
|
DeploymentSourceImpl(Map<String,T> m)
|
|
DeploymentSourceImpl(String archiveFile,
boolean isCompleteArchive,
String[] entriesAdded,
String[] entriesRemoved,
String[] entriesDeleted,
Map<String,T> other)
|
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. |
String |
getMapClassName()
Return the type name which will be paired with MAP_CAPABLE_CLASS_NAME_KEY. |
boolean |
isCompleteArchive()
|
protected boolean |
validate()
Return true if internal state is valid, false otherwise. |
Methods inherited from class com.sun.appserv.management.base.MapCapableBase |
---|
asMap, asMapHook, checkInJavaUtil, checkLegalObject, checkLegalObject, checkValidType, equals, getboolean, getBoolean, getByte, getField, getFile, getInteger, getMap, getObject, getString, getStringArray, hashCode, illegalObject, makeImmutable, putAll, putField, putFieldHook, toString, validateNullOrOfType, validateThrow |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.sun.appserv.management.base.MapCapable |
---|
asMap |
Field Detail |
---|
public static final String ARCHIVE_FILE_KEY
public static final String IS_COMPLETE_ARCHIVE_KEY
public static final String ENTRIES_ADDED_KEY
public static final String ENTRIES_REMOVED_KEY
public static final String ENTRIES_DELETED_KEY
Constructor Detail |
---|
public DeploymentSourceImpl(DeploymentSource src)
public DeploymentSourceImpl(Map<String,T> m)
public DeploymentSourceImpl(String archiveFile, boolean isCompleteArchive, String[] entriesAdded, String[] entriesRemoved, String[] entriesDeleted, Map<String,T> other)
Method Detail |
---|
protected boolean validate()
MapCapableBase
validate
in class MapCapableBase
public String getMapClassName()
MapCapableBase
getMapClassName
in interface MapCapable
getMapClassName
in class MapCapableBase
public File getArchive()
DeploymentSource
getArchive
in interface DeploymentSource
public JarInputStream getArchiveAsStream() throws IOException
getArchiveAsStream
in interface DeploymentSource
IOException
public boolean isCompleteArchive()
isCompleteArchive
in interface DeploymentSource
public String[] getEntriesAdded()
DeploymentSource
getEntriesAdded
in interface DeploymentSource
public String[] getEntriesRemoved()
DeploymentSource
getEntriesRemoved
in interface DeploymentSource
public String[] getEntriesDeleted()
DeploymentSource
getEntriesDeleted
in interface DeploymentSource
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.