org.apache.geronimo.deployment.plugin
Class DisconnectedDeploymentManager

java.lang.Object
  extended byorg.apache.geronimo.deployment.plugin.DisconnectedDeploymentManager
All Implemented Interfaces:
javax.enterprise.deploy.spi.DeploymentManager

public class DisconnectedDeploymentManager
extends Object
implements javax.enterprise.deploy.spi.DeploymentManager

Implementation of a disconnected JSR88 DeploymentManager.

Version:
$Rev: 355877 $ $Date: 2005-12-11 03:48:27 +0100 (Sun, 11 Dec 2005) $

Constructor Summary
DisconnectedDeploymentManager()
           
 
Method Summary
 javax.enterprise.deploy.spi.DeploymentConfiguration createConfiguration(javax.enterprise.deploy.model.DeployableObject dObj)
           
 javax.enterprise.deploy.spi.status.ProgressObject distribute(javax.enterprise.deploy.spi.Target[] targets, File file, File file1)
           
 javax.enterprise.deploy.spi.status.ProgressObject distribute(javax.enterprise.deploy.spi.Target[] targets, InputStream inputStream, InputStream inputStream1)
           
 javax.enterprise.deploy.spi.TargetModuleID[] getAvailableModules(javax.enterprise.deploy.shared.ModuleType moduleType, javax.enterprise.deploy.spi.Target[] targets)
           
 Locale getCurrentLocale()
           
 javax.enterprise.deploy.shared.DConfigBeanVersionType getDConfigBeanVersion()
           
 Locale getDefaultLocale()
           
 javax.enterprise.deploy.spi.TargetModuleID[] getNonRunningModules(javax.enterprise.deploy.shared.ModuleType moduleType, javax.enterprise.deploy.spi.Target[] targets)
           
 javax.enterprise.deploy.spi.TargetModuleID[] getRunningModules(javax.enterprise.deploy.shared.ModuleType moduleType, javax.enterprise.deploy.spi.Target[] targets)
           
 Locale[] getSupportedLocales()
           
 javax.enterprise.deploy.spi.Target[] getTargets()
           
 boolean isDConfigBeanVersionSupported(javax.enterprise.deploy.shared.DConfigBeanVersionType version)
           
 boolean isLocaleSupported(Locale locale)
           
 boolean isRedeploySupported()
           
 javax.enterprise.deploy.spi.status.ProgressObject redeploy(javax.enterprise.deploy.spi.TargetModuleID[] targetModuleIDs, File file, File file1)
           
 javax.enterprise.deploy.spi.status.ProgressObject redeploy(javax.enterprise.deploy.spi.TargetModuleID[] targetModuleIDs, InputStream inputStream, InputStream inputStream1)
           
 void release()
           
 void setDConfigBeanVersion(javax.enterprise.deploy.shared.DConfigBeanVersionType version)
           
 void setLocale(Locale locale)
           
 javax.enterprise.deploy.spi.status.ProgressObject start(javax.enterprise.deploy.spi.TargetModuleID[] targetModuleIDs)
           
 javax.enterprise.deploy.spi.status.ProgressObject stop(javax.enterprise.deploy.spi.TargetModuleID[] targetModuleIDs)
           
 javax.enterprise.deploy.spi.status.ProgressObject undeploy(javax.enterprise.deploy.spi.TargetModuleID[] targetModuleIDs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisconnectedDeploymentManager

public DisconnectedDeploymentManager()
Method Detail

createConfiguration

public javax.enterprise.deploy.spi.DeploymentConfiguration createConfiguration(javax.enterprise.deploy.model.DeployableObject dObj)
                                                                        throws javax.enterprise.deploy.spi.exceptions.InvalidModuleException
Specified by:
createConfiguration in interface javax.enterprise.deploy.spi.DeploymentManager
Throws:
javax.enterprise.deploy.spi.exceptions.InvalidModuleException

getSupportedLocales

public Locale[] getSupportedLocales()
Specified by:
getSupportedLocales in interface javax.enterprise.deploy.spi.DeploymentManager

getCurrentLocale

public Locale getCurrentLocale()
Specified by:
getCurrentLocale in interface javax.enterprise.deploy.spi.DeploymentManager

getDefaultLocale

public Locale getDefaultLocale()
Specified by:
getDefaultLocale in interface javax.enterprise.deploy.spi.DeploymentManager

isLocaleSupported

public boolean isLocaleSupported(Locale locale)
Specified by:
isLocaleSupported in interface javax.enterprise.deploy.spi.DeploymentManager

setLocale

public void setLocale(Locale locale)
Specified by:
setLocale in interface javax.enterprise.deploy.spi.DeploymentManager

getDConfigBeanVersion

public javax.enterprise.deploy.shared.DConfigBeanVersionType getDConfigBeanVersion()
Specified by:
getDConfigBeanVersion in interface javax.enterprise.deploy.spi.DeploymentManager

isDConfigBeanVersionSupported

public boolean isDConfigBeanVersionSupported(javax.enterprise.deploy.shared.DConfigBeanVersionType version)
Specified by:
isDConfigBeanVersionSupported in interface javax.enterprise.deploy.spi.DeploymentManager

setDConfigBeanVersion

public void setDConfigBeanVersion(javax.enterprise.deploy.shared.DConfigBeanVersionType version)
                           throws javax.enterprise.deploy.spi.exceptions.DConfigBeanVersionUnsupportedException
Specified by:
setDConfigBeanVersion in interface javax.enterprise.deploy.spi.DeploymentManager
Throws:
javax.enterprise.deploy.spi.exceptions.DConfigBeanVersionUnsupportedException

getTargets

public javax.enterprise.deploy.spi.Target[] getTargets()
                                                throws IllegalStateException
Specified by:
getTargets in interface javax.enterprise.deploy.spi.DeploymentManager
Throws:
IllegalStateException

getRunningModules

public javax.enterprise.deploy.spi.TargetModuleID[] getRunningModules(javax.enterprise.deploy.shared.ModuleType moduleType,
                                                                      javax.enterprise.deploy.spi.Target[] targets)
                                                               throws javax.enterprise.deploy.spi.exceptions.TargetException,
                                                                      IllegalStateException
Specified by:
getRunningModules in interface javax.enterprise.deploy.spi.DeploymentManager
Throws:
javax.enterprise.deploy.spi.exceptions.TargetException
IllegalStateException

getNonRunningModules

public javax.enterprise.deploy.spi.TargetModuleID[] getNonRunningModules(javax.enterprise.deploy.shared.ModuleType moduleType,
                                                                         javax.enterprise.deploy.spi.Target[] targets)
                                                                  throws javax.enterprise.deploy.spi.exceptions.TargetException,
                                                                         IllegalStateException
Specified by:
getNonRunningModules in interface javax.enterprise.deploy.spi.DeploymentManager
Throws:
javax.enterprise.deploy.spi.exceptions.TargetException
IllegalStateException

getAvailableModules

public javax.enterprise.deploy.spi.TargetModuleID[] getAvailableModules(javax.enterprise.deploy.shared.ModuleType moduleType,
                                                                        javax.enterprise.deploy.spi.Target[] targets)
                                                                 throws javax.enterprise.deploy.spi.exceptions.TargetException,
                                                                        IllegalStateException
Specified by:
getAvailableModules in interface javax.enterprise.deploy.spi.DeploymentManager
Throws:
javax.enterprise.deploy.spi.exceptions.TargetException
IllegalStateException

distribute

public javax.enterprise.deploy.spi.status.ProgressObject distribute(javax.enterprise.deploy.spi.Target[] targets,
                                                                    File file,
                                                                    File file1)
                                                             throws IllegalStateException
Specified by:
distribute in interface javax.enterprise.deploy.spi.DeploymentManager
Throws:
IllegalStateException

distribute

public javax.enterprise.deploy.spi.status.ProgressObject distribute(javax.enterprise.deploy.spi.Target[] targets,
                                                                    InputStream inputStream,
                                                                    InputStream inputStream1)
                                                             throws IllegalStateException
Specified by:
distribute in interface javax.enterprise.deploy.spi.DeploymentManager
Throws:
IllegalStateException

start

public javax.enterprise.deploy.spi.status.ProgressObject start(javax.enterprise.deploy.spi.TargetModuleID[] targetModuleIDs)
                                                        throws IllegalStateException
Specified by:
start in interface javax.enterprise.deploy.spi.DeploymentManager
Throws:
IllegalStateException

stop

public javax.enterprise.deploy.spi.status.ProgressObject stop(javax.enterprise.deploy.spi.TargetModuleID[] targetModuleIDs)
                                                       throws IllegalStateException
Specified by:
stop in interface javax.enterprise.deploy.spi.DeploymentManager
Throws:
IllegalStateException

undeploy

public javax.enterprise.deploy.spi.status.ProgressObject undeploy(javax.enterprise.deploy.spi.TargetModuleID[] targetModuleIDs)
                                                           throws IllegalStateException
Specified by:
undeploy in interface javax.enterprise.deploy.spi.DeploymentManager
Throws:
IllegalStateException

isRedeploySupported

public boolean isRedeploySupported()
Specified by:
isRedeploySupported in interface javax.enterprise.deploy.spi.DeploymentManager

redeploy

public javax.enterprise.deploy.spi.status.ProgressObject redeploy(javax.enterprise.deploy.spi.TargetModuleID[] targetModuleIDs,
                                                                  File file,
                                                                  File file1)
                                                           throws UnsupportedOperationException,
                                                                  IllegalStateException
Specified by:
redeploy in interface javax.enterprise.deploy.spi.DeploymentManager
Throws:
UnsupportedOperationException
IllegalStateException

redeploy

public javax.enterprise.deploy.spi.status.ProgressObject redeploy(javax.enterprise.deploy.spi.TargetModuleID[] targetModuleIDs,
                                                                  InputStream inputStream,
                                                                  InputStream inputStream1)
                                                           throws UnsupportedOperationException,
                                                                  IllegalStateException
Specified by:
redeploy in interface javax.enterprise.deploy.spi.DeploymentManager
Throws:
UnsupportedOperationException
IllegalStateException

release

public void release()
Specified by:
release in interface javax.enterprise.deploy.spi.DeploymentManager


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.