站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Platform, Enterprise Edition v1.4 API Specifications

ProgressEvent (Java 2 Platform Ent. Ed. v1.4) - Java Platform, Enterprise Edition v1.4 API Specifications

JavaTM 2 Platform
Ent. Ed. v1.4

javax.enterprise.deploy.spi.status
Class ProgressEvent

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

public class ProgressEvent
extends 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
source
 
Constructor Summary
ProgressEvent(Object source, TargetModuleID targetModuleID, DeploymentStatus sCode)
          Creates a new object representing a deployment progress event.
 
Method Summary
 DeploymentStatus getDeploymentStatus()
          Retrieve the status information.
 TargetModuleID getTargetModuleID()
          Retrieve the TargetModuleID for this event
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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

getTargetModuleID

public TargetModuleID getTargetModuleID()
Retrieve the TargetModuleID for this event

Returns:
the object containing the TargetModuleID

getDeploymentStatus

public DeploymentStatus getDeploymentStatus()
Retrieve the status information.

Returns:
the object containing the status information.

JavaTM 2 Platform
Ent. Ed. v1.4

Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.