ProgressEvent (Java EE 5)

Java EE API


javax.enterprise.deploy.spi.status Class ProgressEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.enterprise.deploy.spi.status.ProgressEvent
All Implemented Interfaces:
Serializable

public class ProgressEvent
extends EventObject

Extends: java.util.EventObject

指示部署状态发生了更改的事件。
英文文档:

An event which indicates that a deployment status change has occurred.

See Also:
ProgressListener, ProgressObject, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
 
Constructor Summary
 
Method Summary
 DeploymentStatus
 TargetModuleID
 
Methods inherited from class java.util.EventObject
 
Methods inherited from class java.lang.Object
 

Constructor Detail

public ProgressEvent(Object source, TargetModuleID targetModuleID, DeploymentStatus sCode)
创建一个表示部署进度事件的新对象。
source 最初发生 Event 的对象。
sCode 包含状态信息的对象。
英文文档:

ProgressEvent

public ProgressEvent(Object source,
                     TargetModuleID targetModuleID,
                     DeploymentStatus sCode)
Creates a new object representing a deployment progress event.

Parameters:
source - the object on which the Event initially occurred.
sCode - the object containing the status information.

Method Detail

public TargetModuleID getTargetModuleID()
获取此事件的 TargetModuleID。
return 包含 TargetModuleID 的对象
英文文档:

getTargetModuleID

public TargetModuleID getTargetModuleID()
Retrieve the TargetModuleID for this event

Returns:
the object containing the TargetModuleID

public DeploymentStatus getDeploymentStatus()
获取状态信息。
return 包含状态信息的对象。
英文文档:

getDeploymentStatus

public DeploymentStatus getDeploymentStatus()
Retrieve the status information.

Returns:
the object containing the status information.


Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!