|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DeploymentProgressObjectMBean
This MBean is the user API for monitoring deployment operations
and exists only on an Administration Server. Currently only start and stop
operations initiated by AppDeploymentRuntimeMBean
are
supported.
Field Summary | |
---|---|
static int |
OPERATION_DEPLOY
|
static int |
OPERATION_REDEPLOY
|
static int |
OPERATION_START
|
static int |
OPERATION_STOP
|
static int |
OPERATION_UNDEPLOY
|
static int |
OPERATION_UNIMPLEMENTED
|
static String |
STATE_COMPLETED
|
static String |
STATE_DEFERRED
|
static String |
STATE_FAILED
|
static String |
STATE_INITIALIZED
|
static String |
STATE_RUNNING
|
Method Summary | |
---|---|
void |
addMessages(List msgs)
add messages for current deployment operation. |
void |
cancel()
Attempt to cancel the deployment operation. |
AppDeploymentMBean |
getAppDeploymentMBean()
The AppDeploymentMBean for the current deployment operation. |
String |
getApplicationName()
The name of the application for the current deployment operation. |
long |
getBeginTime()
The time that the current deployment operation began. |
long |
getEndTime()
The time that the current deployment operation ended. |
RuntimeException[] |
getExceptions(String target)
If the current deployment operation has failed, this method may return zero or more exception(s) which represent the errors for this target. |
String[] |
getFailedTargets()
The targets on which the current deployment operation failed. |
String |
getId()
The unique ID for the current deployment operation. |
LibraryMBean |
getLibraryMBean()
Return the LibraryMBean for the current deployment operation. |
String[] |
getMessages()
Provides an ordered array of status messages generated for the current deployment operation. |
int |
getOperationType()
The deployment operation type for the current deployment operation. |
RuntimeException[] |
getRootExceptions()
If the current deployment operation has failed, this method may return zero or more exception(s) which represent the root cause of the failure. |
String |
getState()
The state of the current deployment operation. |
String[] |
getTargets()
The targets specified for the current deployment operation. |
Methods inherited from interface weblogic.management.WebLogicMBean |
---|
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent |
Methods inherited from interface javax.management.DynamicMBean |
---|
getAttribute, getAttributes, invoke, setAttribute, setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
---|
postDeregister, postRegister, preDeregister, preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
---|
addNotificationListener, getNotificationInfo, removeNotificationListener |
Field Detail |
---|
static final int OPERATION_UNIMPLEMENTED
static final int OPERATION_START
static final int OPERATION_STOP
static final int OPERATION_DEPLOY
static final int OPERATION_REDEPLOY
static final int OPERATION_UNDEPLOY
static final String STATE_INITIALIZED
static final String STATE_RUNNING
static final String STATE_COMPLETED
static final String STATE_FAILED
static final String STATE_DEFERRED
Method Detail |
---|
String getId()
The unique ID for the current deployment operation.
int getOperationType()
The deployment operation type for the current deployment operation. Possible values are 1 (start) and 2 (stop).
String getApplicationName()
The name of the application for the current deployment operation.
AppDeploymentMBean getAppDeploymentMBean()
The AppDeploymentMBean for the current deployment operation.
LibraryMBean getLibraryMBean()
Return the LibraryMBean for the current deployment operation.
String getState()
The state of the current deployment operation. Possible values are STATE_INITIALIZED, STATE_RUNNING, STATE_COMPLETED, STATE_FAILED and STATE_DEFERRED.
String[] getTargets()
The targets specified for the current deployment operation.
String[] getFailedTargets()
The targets on which the current deployment operation failed.
void addMessages(List msgs)
add messages for current deployment operation.
String[] getMessages()
Provides an ordered array of status messages generated for the current deployment operation.
RuntimeException[] getExceptions(String target)
If the current deployment operation has failed, this method may return zero or more exception(s) which represent the errors for this target. The array will not contain WLS exception classes; instead they will be new RuntimeExceptions containing the stack traces and messages from the original WLS Exceptions.
target
- the target where exceptions might have occurred.
RuntimeException[] getRootExceptions()
If the current deployment operation has failed, this method may return zero or more exception(s) which represent the root cause of the failure. The array will not contain WLS exception classes; instead they will be new Exceptions containing the stack traces and messages from the original WLS Exceptions.
void cancel() throws RuntimeException
Attempt to cancel the deployment operation. Any actions which have yet to start will be inhibited. Any completed actions will remain in place.
RuntimeException
long getBeginTime()
The time that the current deployment operation began. The value is in milliseconds consistent with the system time.
long getEndTime()
The time that the current deployment operation ended. The value is in milliseconds consistent with the system time. If the operation has not ended, the value will be zero.
|
Copyright 1996, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |