|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Base interface for deployment task MBeans. These MBeans track the progress of a deployment task.
Field Summary | |
static int |
APP_NOTIFICATION_LEVEL
Indicates only application level deployment notifications are propogated to the admin server. |
static long |
CACHING_STUB_SVUID
|
static int |
DEFAULT_NOTIFICATION_LEVEL
The default notification level for deployments. |
static int |
MODULE_NOTIFICATION_LEVEL
Indicates application and module level deployment notifications are propogated to the admin server. |
static int |
NONE_NOTIFICATION_LEVEL
Indicates no deployment notifications are propogated to the admin server. |
static int |
STATE_COMPLETED
Indicates the task completed successfully |
static int |
STATE_DEFERRED
Indicates the task is deferred |
static int |
STATE_FAILED
Indicates the task failed |
static int |
STATE_INITIALIZED
Indicates the task has been created but not started. |
static int |
STATE_RUNNING
Indicate the task is in progress |
Method Summary | |
void |
cancel()
Attempt to cancel the task. |
TargetStatus |
findTarget(java.lang.String target)
Status for a specific target of this deployment. |
java.lang.String |
getApplicationName()
The name for the application that was specified to DeployerRuntime.activate |
DeploymentData |
getDeploymentData()
Data associated with this task |
ApplicationMBean |
getDeploymentObject()
The Application MBean involved in this task. |
java.lang.String |
getId()
A task can be referenced by the id assigned to it, or one the user assigns to it. |
int |
getNotificationLevel()
Returns the notification level applied to this task |
java.lang.String |
getSource()
The source file that was specified to DeployerRuntime.activate. |
int |
getState()
Overall state of this task |
TargetStatus[] |
getTargets()
Target based deployment status information for this deployment. |
int |
getTask()
Indicates specific task associated with this MBean |
java.util.List |
getTaskMessages()
ordered list of messages generated for the task. |
boolean |
isInUse()
This indicates if the MBean is free for deletion or timeout. |
void |
setNotificationLevel(int level)
Establish a notification level for this task. |
void |
start()
Initiate the request. |
Methods inherited from interface weblogic.management.runtime.TaskRuntimeMBean |
getBeginTime,
getDescription,
getEndTime,
getError,
getParentTask,
getStatus,
getSubTasks,
isRunning,
isSystemTask,
setSystemTask |
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,
preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener,
getNotificationInfo,
removeNotificationListener |
Field Detail |
public static final long CACHING_STUB_SVUID
public static final int NONE_NOTIFICATION_LEVEL
setNotificationLevel(int)
public static final int APP_NOTIFICATION_LEVEL
setNotificationLevel(int)
public static final int MODULE_NOTIFICATION_LEVEL
setNotificationLevel(int)
public static final int DEFAULT_NOTIFICATION_LEVEL
setNotificationLevel(int)
public static final int STATE_INITIALIZED
public static final int STATE_RUNNING
public static final int STATE_COMPLETED
public static final int STATE_FAILED
public static final int STATE_DEFERRED
Method Detail |
public int getTask()
public TargetStatus[] getTargets()
public TargetStatus findTarget(java.lang.String target)
target
- is the name of a target (server or cluster name)public ApplicationMBean getDeploymentObject()
public DeploymentData getDeploymentData()
public java.lang.String getId()
public void cancel() throws java.lang.Exception
public void start() throws ManagementException
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.
public boolean isInUse()
public java.lang.String getSource()
public java.lang.String getApplicationName()
public int getState()
public int getNotificationLevel()
public void setNotificationLevel(int level)
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
,
NONE_NOTIFICATION_LEVEL
,
APP_NOTIFICATION_LEVEL
,
MODULE_NOTIFICATION_LEVEL
public java.util.List getTaskMessages()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |