## Uses of Class
javax.enterprise.deploy.shared.ModuleType

- Packages that use ModuleType
  Package | Description
  --- | ---
  javax.enterprise.deploy.model | Provides Tool Vendor implementation classes.
  javax.enterprise.deploy.shared | Provides shared objects for Tool Vendor and Product Vendor implementation classes.
  javax.enterprise.deploy.spi | Provides J2EE Product Vendor implementation classes.

- - ### Uses of ModuleType in javax.enterprise.deploy.model

    Methods in javax.enterprise.deploy.model that return ModuleType
    Modifier and Type | Method and Description
    --- | ---
    `ModuleType` | DeployableObject.`getType()` Return the ModuleType of deployment descriptor (i.e., EAR, JAR, WAR, RAR) this deployable object represents.
    `ModuleType` | DDBeanRoot.`getType()` Return the ModuleType of deployment descriptor.

    Methods in javax.enterprise.deploy.model with parameters of type ModuleType
    Modifier and Type | Method and Description
    --- | ---
    `void` | J2eeApplicationObject.`addXpathListener(ModuleType type, String xpath, XpathListener xpl)` Register a listener for changes in XPath that are related to this deployableObject.
    `DDBean[]` | J2eeApplicationObject.`getChildBean(ModuleType type, String xpath)` Return a list of DDBean based upon an XPath; all deployment descriptors of the specified type are searched.
    `DeployableObject[]` | J2eeApplicationObject.`getDeployableObjects(ModuleType type)` Return the all DeployableObjects of the specified type.
    `String[]` | J2eeApplicationObject.`getModuleUris(ModuleType type)` Return the list of URIs of the designated module type.
    `String[]` | J2eeApplicationObject.`getText(ModuleType type, String xpath)` Return the text value from the XPath; search only the deployment descriptors of the specified type.
    `void` | J2eeApplicationObject.`removeXpathListener(ModuleType type, String xpath, XpathListener xpl)` Unregister the listener for an XPath.

  - ### Uses of ModuleType in javax.enterprise.deploy.shared

    Fields in javax.enterprise.deploy.shared declared as ModuleType
    Modifier and Type | Field and Description
    --- | ---
    `static ModuleType` | ModuleType.`CAR` The module is an Client Application archive.
    `static ModuleType` | ModuleType.`EAR` The module is an EAR archive.
    `static ModuleType` | ModuleType.`EJB` The module is an Enterprise Java Bean archive.
    `static ModuleType` | ModuleType.`RAR` The module is an Connector archive.
    `static ModuleType` | ModuleType.`WAR` The module is an Web Application archive.

    Methods in javax.enterprise.deploy.shared that return ModuleType
    Modifier and Type | Method and Description
    --- | ---
    `protected ModuleType[]` | ModuleType.`getEnumValueTable()` Returns the enumeration value table for class ModuleType
    `static ModuleType` | ModuleType.`getModuleType(int value)` Return an object of the specified value.

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

    Methods in javax.enterprise.deploy.spi with parameters of type ModuleType
    Modifier and Type | Method and Description
    --- | ---
    `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.