## Uses of Interface
javax.enterprise.deploy.spi.Target

- Packages that use Target
  Package | Description
  --- | ---
  javax.enterprise.deploy.spi | Provides J2EE Product Vendor implementation classes.

- - ### Uses of Target in javax.enterprise.deploy.spi

    Methods in javax.enterprise.deploy.spi that return Target
    Modifier and Type | Method and Description
    --- | ---
    `Target` | TargetModuleID.`getTarget()` Retrieve the name of the target server.
    `Target[]` | DeploymentManager.`getTargets()` Retrieve the list of deployment targets supported by this DeploymentManager.

    Methods in javax.enterprise.deploy.spi with parameters of type Target
    Modifier and Type | Method and Description
    --- | ---
    `ProgressObject` | DeploymentManager.`distribute(Target[] targetList, File moduleArchive, File deploymentPlan)` The distribute method performs three tasks; it validates the deployment configuration data, generates all container specific classes and interfaces, and moves the fully baked archive to the designated deployment targets.
    `ProgressObject` | DeploymentManager.`distribute(Target[] targetList, InputStream moduleArchive, InputStream deploymentPlan)` Deprecated. as of Java EE 5, replaced with `DeploymentManager.distribute(Target[], ModuleType, InputStream, InputStream)`
    `ProgressObject` | DeploymentManager.`distribute(Target[] targetList, ModuleType type, InputStream moduleArchive, InputStream deploymentPlan)` The distribute method performs three tasks; it validates the deployment configuration data, generates all container specific classes and interfaces, and moves the fully baked archive to the designated deployment targets.
    `TargetModuleID[]` | DeploymentManager.`getAvailableModules(ModuleType moduleType, Target[] targetList)` Retrieve the list of all Java EE application modules running or not running on the identified targets.
    `TargetModuleID[]` | DeploymentManager.`getNonRunningModules(ModuleType moduleType, Target[] targetList)` Retrieve the list of Java EE application modules distributed to the identified targets and that are currently not running on the associated server or servers.
    `TargetModuleID[]` | DeploymentManager.`getRunningModules(ModuleType moduleType, Target[] targetList)` Retrieve the list of Java EE application modules distributed to the identified targets and that are currently running on the associated server or servers.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.