|
Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 MBean API Reference 11g Release 1 (10.3.1) Part Number E13945-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
WebLogicDeploymentManager
public interface DeploymentTaskRuntimeMBean
Base interface for deployment task MBeans. These MBeans track the progress of a deployment task.
This is a type-safe interface for a
WebLogic Server MBean, which you can import into your client
classes and access through
weblogic.management.MBeanHome
. As of 9.0, the
MBeanHome
interface and all type-safe interfaces for
WebLogic Server MBeans are deprecated. Instead, client classes that
interact with WebLogic Server MBeans should use standard JMX design
patterns in which clients use the
javax.management.MBeanServerConnection
interface to
discover MBeans, attributes, and attribute types at runtime. For
more information, see "Developing Manageable Applications with JMX"
on http://www.oracle.com/technology/products/weblogic/index.html.
Field Summary | |
---|---|
static int |
APP_NOTIFICATION_LEVEL
Deprecated. Indicates only application level deployment notifications are propogated to the admin server. |
static int |
DEFAULT_NOTIFICATION_LEVEL
Deprecated. The default notification level for deployments. |
static int |
DEPLOY_TASK_ACTIVATE
Deprecated. Activation task. |
static int |
DEPLOY_TASK_DEACTIVATE
Deprecated. Deactivate application. |
static int |
DEPLOY_TASK_DEPLOY
Deprecated. |
static int |
DEPLOY_TASK_DISTRIBUTE
Deprecated. Distributes application files to the target's staging area |
static int |
DEPLOY_TASK_PREPARE
Deprecated. Prepare task. |
static int |
DEPLOY_TASK_REDEPLOY
Deprecated. Redeploy unprepares, distribute and start an application on a target |
static int |
DEPLOY_TASK_REMOVE
Deprecated. Remove application from target. |
static int |
DEPLOY_TASK_START
Deprecated. Starts an already distributed application. |
static int |
DEPLOY_TASK_STOP
Deprecated. Stop unprepares a deployed application on a target |
static int |
DEPLOY_TASK_UNDEPLOY
Deprecated. |
static int |
DEPLOY_TASK_UNPREPARE
Deprecated. Deactivate and unload classes for application from target. |
static int |
DEPLOY_TASK_UPDATE
Deprecated. Updates a deployed application on a target. |
static int |
MODULE_NOTIFICATION_LEVEL
Deprecated. Indicates application and module level deployment notifications are propogated to the admin server. |
static int |
NONE_NOTIFICATION_LEVEL
Deprecated. Indicates no deployment notifications are propogated to the admin server. |
static int |
STATE_COMPLETED
Deprecated. Indicates the task completed successfully |
static int |
STATE_DEFERRED
Deprecated. |
static int |
STATE_FAILED
Deprecated. Indicates the task failed |
static int |
STATE_INITIALIZED
Deprecated. Indicates the task has been created but not started. |
static int |
STATE_RUNNING
Deprecated. Indicate the task is in progress |
Method Summary | |
---|---|
void |
cancel()
Deprecated. Attempts to cancel the task. |
TargetStatus |
findTarget(String target)
Deprecated. Lists the status for a specific target of this deployment. |
String |
getApplicationName()
Deprecated. The name for the application that was specified to DeployerRuntime.activate |
DeploymentData |
getDeploymentData()
Deprecated. Provides the data associated with this task |
BasicDeploymentMBean |
getDeploymentMBean()
Deprecated. |
ApplicationMBean |
getDeploymentObject()
Deprecated. Lists the Application MBean involved in this task. |
String |
getId()
Deprecated. Provides a reference id assigned to a task. |
int |
getNotificationLevel()
Deprecated. Provides the notification level applied to this task. |
String |
getSource()
Deprecated. Provides the name of the source file that was specified to DeployerRuntime.activate. |
int |
getState()
Deprecated. Provides notice of the overall state of this task. |
TargetStatus[] |
getTargets()
Deprecated. Provides target based deployment status information for this deployment. |
int |
getTask()
Deprecated. Indicates a specific task associated with this MBean |
List |
getTaskMessages()
Deprecated. Provides an ordered list of messages generated for the task. |
boolean |
isInUse()
Deprecated. Indicates whether the MBean is free for deletion or timeout. |
boolean |
isNewSource()
Deprecated. Indicates whether a new source for the application was specified in an deployment request. |
void |
setNotificationLevel(int level)
Deprecated. Establishes a notification level for this task. |
void |
start()
Deprecated. Initiates the request. |
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.
Exception
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.
ManagementException
boolean 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
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_LEVEL
List getTaskMessages()
Provides an ordered list of messages generated for the task. Each member in the list is a String object.
BasicDeploymentMBean getDeploymentMBean()
|
Documentation is available at http://download.oracle.com/docs/cd/E12839_01/web.1111/wls.htm Copyright 1996, 2009, 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 Oracle WebLogic Server 10.3.1 MBean API Reference 11g Release 1 (10.3.1) Part Number E13945-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |