Home » jboss-javaee-sources » javax.enterprise.deploy » spi » [javadoc | source]
javax.enterprise.deploy.spi
public interface: DeploymentManager [javadoc | source]

All Known Implementing Classes:
    MockDeploymentManager

The core object for deploying modules to a j2ee environment
Method from javax.enterprise.deploy.spi.DeploymentManager Summary:
createConfiguration,   distribute,   distribute,   distribute,   getAvailableModules,   getCurrentLocale,   getDConfigBeanVersion,   getDefaultLocale,   getNonRunningModules,   getRunningModules,   getSupportedLocales,   getTargets,   isDConfigBeanVersionSupported,   isLocaleSupported,   isRedeploySupported,   redeploy,   redeploy,   release,   setDConfigBeanVersion,   setLocale,   start,   stop,   undeploy
Method from javax.enterprise.deploy.spi.DeploymentManager Detail:
 public DeploymentConfiguration createConfiguration(DeployableObject obj) throws InvalidModuleException
    Retrieve server specific configuration for a component
 public ProgressObject distribute(Target[] targets,
    File moduleArchive,
    File deploymentPlan) throws IllegalStateException
    Validates the configuration, generates all container specific classes and moves the archive to the targets
 public ProgressObject distribute(Target[] targets,
    InputStream moduleArchive,
    InputStream deploymentPlan) throws IllegalStateException
    Validates the configuration, generates all container specific classes and moves the archive to the targets
 public ProgressObject distribute(Target[] targets,
    ModuleType type,
    InputStream moduleArchive,
    InputStream deploymentPlan) throws IllegalStateException
    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.
 public TargetModuleID[] getAvailableModules(ModuleType moduleType,
    Target[] targets) throws TargetException, IllegalStateException
    Get the available modules both running and non running
 public Locale getCurrentLocale()
    Get the current local
 public DConfigBeanVersionType getDConfigBeanVersion()
    Get the J2EE platform version
 public Locale getDefaultLocale()
    Get the default locale
 public TargetModuleID[] getNonRunningModules(ModuleType moduleType,
    Target[] targets) throws TargetException, IllegalStateException
    Get the non running modules
 public TargetModuleID[] getRunningModules(ModuleType moduleType,
    Target[] targets) throws TargetException, IllegalStateException
    Get the running modules
 public Locale[] getSupportedLocales()
    Get the supported locales
 public Target[] getTargets() throws IllegalStateException
    Get the available targets
 public boolean isDConfigBeanVersionSupported(DConfigBeanVersionType version)
    Test whether the version is supported
 public boolean isLocaleSupported(Locale locale)
    Is the locale supported
 public boolean isRedeploySupported()
    Is redeploy supported
 public ProgressObject redeploy(TargetModuleID[] moduleIDList,
    File moduleArchive,
    File deploymentPlan) throws UnsupportedOperationException, IllegalStateException
    Redeploys the modules
 public ProgressObject redeploy(TargetModuleID[] moduleIDList,
    InputStream moduleArchive,
    InputStream deploymentPlan) throws UnsupportedOperationException, IllegalStateException
    Redeploys the modules
 public  void release()
    Release the deployment manager
 public  void setDConfigBeanVersion(DConfigBeanVersionType version) throws DConfigBeanVersionUnsupportedException
    Set the J2EE version
 public  void setLocale(Locale locale) throws UnsupportedOperationException
    Set the locale
 public ProgressObject start(TargetModuleID[] moduleIDList) throws IllegalStateException
    Start the modules
 public ProgressObject stop(TargetModuleID[] moduleIDList) throws IllegalStateException
    Stop the modules
 public ProgressObject undeploy(TargetModuleID[] moduleIDList) throws IllegalStateException
    Removes the modules