|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.zac.ZACLog
Provides a log record of each update/launch event for each ZAC directory.
Field Summary | |
static int |
UPDATE_FAILURE
Returned by the getUpdateStatus() method. |
static int |
UPDATE_NONE
Returned by the getUpdateStatus() method. |
static int |
UPDATE_SUCCESS
Returned by the getUpdateStatus() method. |
Method Summary | |
java.io.File |
getLocalDirectory()
Returns the local directory where a ZAC package is stored. |
long |
getUpdateByteCount()
Returns the total number of bytes transferred in the last download/update sequence. |
java.lang.Throwable |
getUpdateFailure()
Returns the Exception/Error that was encountered during the last download/update sequence for a ZAC package. |
java.lang.String |
getUpdateFailureString()
Returns the entire stack trace of an update failure (probably when it is printed out later, most likely in a GUI) for exceptions raised in cases where there is a mix of classes both with and without classloaders on the stack. |
int |
getUpdateFileCount()
Returns the number of files that were updated in a package during the last download/update sequence. |
java.util.Enumeration |
getUpdateFileList()
Returns an Enumeration of java.lang.String objects that is a list of all files that were created/updated during the last update, if any. |
static java.util.Enumeration |
getUpdateLogs()
Returns an Enumeration of ZACLog object(s), one for each ZAC package in the current application's set of dependencies. |
int |
getUpdateStatus()
Returned by the getUpdateStatus() method. |
java.lang.String |
getZACHost()
Returns the hostname of the publishing WebLogic Server from which a ZAC package is programmed to download. |
java.lang.String |
getZACName()
Returns the name by which a ZAC package is known. |
int |
getZACPort()
Returns the listen port of the publishing WebLogic Server from which a ZAC package is programmed to download. |
java.lang.String |
toString()
Returns a descriptive string for a ZAC status. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final int UPDATE_SUCCESS
public static final int UPDATE_FAILURE
public static final int UPDATE_NONE
Method Detail |
public static java.util.Enumeration getUpdateLogs()
public int getUpdateStatus()
public int getUpdateFileCount()
public java.util.Enumeration getUpdateFileList()
ZACLog zl; ... Enumeration enum = zl.getUpdateFileList(); File zacroot = zl.getLocalDirectory(); while (enum.hasMoreElements()) { String path = (String)enum.nextElement(); File updated = new File(zacroot, path); System.out.println("Updated: " + updated.getAbsolutePath()); }
getLocalDirectory()
public long getUpdateByteCount()
public java.lang.String getZACName()
public java.lang.String getZACHost()
public int getZACPort()
public java.io.File getLocalDirectory()
public java.lang.Throwable getUpdateFailure()
public java.lang.String getUpdateFailureString()
public java.lang.String toString()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs60 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |