|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Deprecated. 9.0.0.0 Replaced by WebLogicDeploymentManager
public interface DeploymentTaskRuntimeMBean
Base interface for deployment task MBeans. These MBeans track the progress of a deployment task.
| Field Summary | |
|---|---|
static int |
APP_NOTIFICATION_LEVELDeprecated. Indicates only application level deployment notifications are propogated to the admin server. |
static int |
DEFAULT_NOTIFICATION_LEVELDeprecated. The default notification level for deployments. |
static int |
DEPLOY_TASK_ACTIVATEDeprecated. Activation task. |
static int |
DEPLOY_TASK_DEACTIVATEDeprecated. Deactivate application. |
static int |
DEPLOY_TASK_DEPLOYDeprecated. |
static int |
DEPLOY_TASK_DISTRIBUTEDeprecated. Distributes application files to the target's staging area |
static int |
DEPLOY_TASK_PREPAREDeprecated. Prepare task. |
static int |
DEPLOY_TASK_REDEPLOYDeprecated. Redeploy unprepares, distribute and start an application on a target |
static int |
DEPLOY_TASK_REMOVEDeprecated. Remove application from target. |
static int |
DEPLOY_TASK_STARTDeprecated. Starts an already distributed application. |
static int |
DEPLOY_TASK_STOPDeprecated. Stop unprepares a deployed application on a target |
static int |
DEPLOY_TASK_UNDEPLOYDeprecated. |
static int |
DEPLOY_TASK_UNPREPAREDeprecated. Deactivate and unload classes for application from target. |
static int |
DEPLOY_TASK_UPDATEDeprecated. Updates a deployed application on a target. |
static int |
MODULE_NOTIFICATION_LEVELDeprecated. Indicates application and module level deployment notifications are propogated to the admin server. |
static int |
NONE_NOTIFICATION_LEVELDeprecated. Indicates no deployment notifications are propogated to the admin server. |
static int |
STATE_COMPLETEDDeprecated. Indicates the task completed successfully |
static int |
STATE_DEFERREDDeprecated. |
static int |
STATE_FAILEDDeprecated. Indicates the task failed |
static int |
STATE_INITIALIZEDDeprecated. Indicates the task has been created but not started. |
static int |
STATE_RUNNINGDeprecated. Indicate the task is in progress |
| Fields inherited from interface weblogic.management.runtime.TaskRuntimeMBean |
|---|
PROGRESS_FAILED, PROGRESS_PENDING, PROGRESS_PROCESSING, PROGRESS_SUCCESS |
| Method Summary | |
|---|---|
abstract void |
cancel()Deprecated. Attempts to cancel the task. |
abstract TargetStatus |
findTarget(String target)Deprecated. Lists the status for a specific target of this deployment. |
abstract String |
getApplicationId()Deprecated. The ID for the application that was specified to DeployerRuntime.activate |
abstract String |
getApplicationName()Deprecated. The name for the application that was specified to DeployerRuntime.activate |
abstract DeploymentData |
getDeploymentData()Deprecated. Provides the data associated with this task |
abstract BasicDeploymentMBean |
getDeploymentMBean()Deprecated. |
abstract ApplicationMBean |
getDeploymentObject()Deprecated. Lists the Application MBean involved in this task. |
abstract String |
getId()Deprecated. Provides a reference id assigned to a task. |
abstract int |
getNotificationLevel()Deprecated. Provides the notification level applied to this task. |
abstract String |
getSource()Deprecated. Provides the name of the source file that was specified to DeployerRuntime.activate. |
abstract int |
getState()Deprecated. Provides notice of the overall state of this task. |
abstract TargetStatus[] |
getTargets()Deprecated. Provides target based deployment status information for this deployment. |
abstract int |
getTask()Deprecated. Indicates a specific task associated with this MBean |
abstract List |
getTaskMessages()Deprecated. Provides an ordered list of messages generated for the task. |
abstract boolean |
isInUse()Deprecated. Indicates whether the MBean is free for deletion or timeout. |
abstract boolean |
isNewSource()Deprecated. Indicates whether a new source for the application was specified in an deployment request. |
abstract void |
setNotificationLevel(int level)Deprecated. Establishes a notification level for this task. |
abstract void |
start()Deprecated. Initiates the request. |
| Methods inherited from interface weblogic.management.runtime.TaskRuntimeMBean |
|---|
getBeginTime, getDescription, getEndTime, getError, getParentTask, getProgress, getStatus, getSubTasks, isRunning, isSystemTask, setSystemTask |
| Methods inherited from interface weblogic.management.runtime.RuntimeMBean |
|---|
addPropertyChangeListener, removePropertyChangeListener |
| Methods inherited from interface weblogic.management.WebLogicMBean |
|---|
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, 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 DEPLOY_TASK_ACTIVATE
static final int DEPLOY_TASK_PREPARE
static final int DEPLOY_TASK_DEACTIVATE
static final int DEPLOY_TASK_REMOVE
static final int DEPLOY_TASK_UNPREPARE
static final int DEPLOY_TASK_DISTRIBUTE
static final int DEPLOY_TASK_START
static final int DEPLOY_TASK_STOP
static final int DEPLOY_TASK_REDEPLOY
static final int DEPLOY_TASK_UPDATE
static final int DEPLOY_TASK_DEPLOY
static final int DEPLOY_TASK_UNDEPLOY
static final int NONE_NOTIFICATION_LEVEL
DeploymentTaskRuntimeMBean.setNotificationLevel(int), Constant Field Valuesstatic final int APP_NOTIFICATION_LEVEL
DeploymentTaskRuntimeMBean.setNotificationLevel(int), Constant Field Valuesstatic final int MODULE_NOTIFICATION_LEVEL
DeploymentTaskRuntimeMBean.setNotificationLevel(int), Constant Field Valuesstatic final int DEFAULT_NOTIFICATION_LEVEL
DeploymentTaskRuntimeMBean.setNotificationLevel(int), Constant Field Valuesstatic final int STATE_INITIALIZED
static final int STATE_RUNNING
static final int STATE_COMPLETED
static final int STATE_FAILED
static final int STATE_DEFERRED
| Method Detail |
|---|
int getTask()
Indicates a specific task associated with this MBean
TargetStatus[] getTargets()
Provides target based deployment status information for this deployment. For distributed deployment, there is one TargetStatus for each target
TargetStatus findTarget(String target)
Lists the status for a specific target of this deployment.
target - is the name of a target (server or cluster name)ApplicationMBean getDeploymentObject()
Lists the Application MBean involved in this task. This returns the Admin MBean, the one based on config.xml, that applies to all servers this application is associated with.
DeploymentData getDeploymentData()
Provides the data associated with this task
String getId()
Provides a reference id assigned to a task.
void cancel()
throws Exception
Attempts to cancel the task. Any actions which have yet to start will be inhibited. Any completed actions will remain in place.
cancel in interface TaskRuntimeMBeanException
void start()
throws ManagementException
Initiates the request. When invoking DeployerRuntimeMBean.activate(String, String, String, DeploymentData, String, boolean), DeployerRuntimeMBean.deactivate(String, DeploymentData, String, boolean), DeployerRuntimeMBean.unprepare(String, DeploymentData, String, boolean), or DeployerRuntimeMBean.remove(String, DeploymentData, String, boolean) with the startTask option set to false, this method is used to initiate the task. throws ManagementException if task is already started or any failures occur during task processing.
ManagementExceptionboolean isNewSource()
boolean isInUse()
Indicates whether the MBean is free for deletion or timeout.
String getSource()
Provides the name of the source file that was specified to DeployerRuntime.activate.
String getApplicationName()
The name for the application that was specified to DeployerRuntime.activate
String getApplicationId()
The ID for the application that was specified to DeployerRuntime.activate
int getState()
Provides notice of the overall state of this task.
int getNotificationLevel()
Provides the notification level applied to this task.
void setNotificationLevel(int level)
Establishes a notification level for this task. Deployment notifications are always sent to the local application MBean associated with this task, and are logged in the managed server log. The NotificationLevel attribute affects whether the notifications are also sent to the admin server. The valid levels are:
none: no deployment notifications are sent to the admin server
application: only application level notifications are sent to the admin server
module: application and module level notifications are sent to the admin server
level - The new notificationLevel valueDeploymentNotification, DeploymentTaskRuntimeMBean.NONE_NOTIFICATION_LEVEL, DeploymentTaskRuntimeMBean.APP_NOTIFICATION_LEVEL, DeploymentTaskRuntimeMBean.MODULE_NOTIFICATION_LEVELList getTaskMessages()
Provides an ordered list of messages generated for the task. Each member in the list is a String object.
BasicDeploymentMBean getDeploymentMBean()
|
Copyright 1996, 2015, 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.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||