protected static class SunDeploymentManager.TargetModuleIDCollection extends Object
Several methods in the JSR88 DeploymentManager interface accept a list of TargetModuleID values, and these lists can refer to multiple module IDs and multiple targets. Each invocation of a DeploymentFacility method, on the other hand, can work on only a single module although with perhaps multiple targets. This class provides a central way of organizing the target module IDs as passed from the JSR88 client and making the information for a single module ID readily available.
Typically, a client will use three methods:
| Constructor and Description |
|---|
TargetModuleIDCollection(javax.enterprise.deploy.spi.TargetModuleID[] targetModuleIDs)
Create a new instance of TargetModuleIDCollection.
|
| Modifier and Type | Method and Description |
|---|---|
ProgressObjectSink |
getProgressObjectSink()
Returns the aggregate progress object for the collection.
|
Iterator |
iterator()
Provides an Iterator over the module work items in the collection.
|
int |
size()
Reports the number of elements in the collection.
|
public TargetModuleIDCollection(javax.enterprise.deploy.spi.TargetModuleID[] targetModuleIDs)
throws IllegalArgumentException
targetModuleIDs - array of TargetModuleID provided from the calling JSR88 clientIllegalArgumentExceptionpublic Iterator iterator()
public int size()
public ProgressObjectSink getProgressObjectSink()
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.