|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.deployapi.SunDeploymentManager.TargetModuleIDCollection
protected static class SunDeploymentManager.TargetModuleIDCollection
Organizes the target module IDs passed by a JSR88 client for easy processing one module ID at a time.
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 Summary | |
|---|---|
SunDeploymentManager.TargetModuleIDCollection(TargetModuleID[] targetModuleIDs)
Create a new instance of TargetModuleIDCollection. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SunDeploymentManager.TargetModuleIDCollection(TargetModuleID[] targetModuleIDs)
throws IllegalArgumentException
targetModuleIDs - array of TargetModuleID provided from the calling JSR88 client
IllegalArgumentException| Method Detail |
|---|
public Iterator iterator()
public int size()
public ProgressObjectSink getProgressObjectSink()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||