org.apache.geronimo.deployment.plugin
Class DeploymentManagerImpl
java.lang.Object
org.apache.geronimo.deployment.plugin.DeploymentManagerImpl
- All Implemented Interfaces:
- javax.enterprise.deploy.spi.DeploymentManager
- public class DeploymentManagerImpl
- extends Object
- implements javax.enterprise.deploy.spi.DeploymentManager
- Version:
- $Revision: 1.17 $ $Date: 2004/06/02 05:33:02 $
Field Summary |
static org.apache.geronimo.gbean.GBeanInfo |
GBEAN_INFO
|
Method Summary |
void |
addConfigurationBuilder(ConfigurationBuilder builder)
|
javax.enterprise.deploy.spi.DeploymentConfiguration |
createConfiguration(javax.enterprise.deploy.model.DeployableObject deployable)
|
javax.enterprise.deploy.spi.status.ProgressObject |
distribute(javax.enterprise.deploy.spi.Target[] targetList,
File moduleArchive,
File deploymentPlan)
|
javax.enterprise.deploy.spi.status.ProgressObject |
distribute(javax.enterprise.deploy.spi.Target[] targetList,
InputStream moduleArchive,
InputStream deploymentPlan)
|
javax.enterprise.deploy.spi.TargetModuleID[] |
getAvailableModules(javax.enterprise.deploy.shared.ModuleType moduleType,
javax.enterprise.deploy.spi.Target[] targetList)
|
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[] targetList)
|
javax.enterprise.deploy.spi.TargetModuleID[] |
getRunningModules(javax.enterprise.deploy.shared.ModuleType moduleType,
javax.enterprise.deploy.spi.Target[] targetList)
|
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[] moduleIDList,
File moduleArchive,
File deploymentPlan)
|
javax.enterprise.deploy.spi.status.ProgressObject |
redeploy(javax.enterprise.deploy.spi.TargetModuleID[] moduleIDList,
InputStream moduleArchive,
InputStream deploymentPlan)
|
void |
release()
|
void |
removeConfigurationBuilder(ConfigurationBuilder builder)
|
void |
setDConfigBeanVersion(javax.enterprise.deploy.shared.DConfigBeanVersionType version)
|
void |
setLocale(Locale locale)
|
javax.enterprise.deploy.spi.status.ProgressObject |
start(javax.enterprise.deploy.spi.TargetModuleID[] moduleIDList)
|
javax.enterprise.deploy.spi.status.ProgressObject |
stop(javax.enterprise.deploy.spi.TargetModuleID[] moduleIDList)
|
javax.enterprise.deploy.spi.status.ProgressObject |
undeploy(javax.enterprise.deploy.spi.TargetModuleID[] moduleIDList)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GBEAN_INFO
public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
DeploymentManagerImpl
public DeploymentManagerImpl(DeploymentServer server,
Collection configurers)
addConfigurationBuilder
public void addConfigurationBuilder(ConfigurationBuilder builder)
removeConfigurationBuilder
public void removeConfigurationBuilder(ConfigurationBuilder builder)
createConfiguration
public javax.enterprise.deploy.spi.DeploymentConfiguration createConfiguration(javax.enterprise.deploy.model.DeployableObject deployable)
throws javax.enterprise.deploy.spi.exceptions.InvalidModuleException
- Specified by:
createConfiguration
in interface javax.enterprise.deploy.spi.DeploymentManager
- Throws:
javax.enterprise.deploy.spi.exceptions.InvalidModuleException
getDConfigBeanVersion
public javax.enterprise.deploy.shared.DConfigBeanVersionType getDConfigBeanVersion()
- Specified by:
getDConfigBeanVersion
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
isDConfigBeanVersionSupported
public boolean isDConfigBeanVersionSupported(javax.enterprise.deploy.shared.DConfigBeanVersionType version)
- Specified by:
isDConfigBeanVersionSupported
in interface javax.enterprise.deploy.spi.DeploymentManager
getDefaultLocale
public Locale getDefaultLocale()
- Specified by:
getDefaultLocale
in interface javax.enterprise.deploy.spi.DeploymentManager
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
setLocale
public void setLocale(Locale locale)
throws UnsupportedOperationException
- Specified by:
setLocale
in interface javax.enterprise.deploy.spi.DeploymentManager
- Throws:
UnsupportedOperationException
isLocaleSupported
public boolean isLocaleSupported(Locale locale)
- Specified by:
isLocaleSupported
in interface javax.enterprise.deploy.spi.DeploymentManager
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[] targetList)
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[] targetList)
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[] targetList)
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[] targetList,
File moduleArchive,
File deploymentPlan)
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[] targetList,
InputStream moduleArchive,
InputStream deploymentPlan)
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[] moduleIDList)
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[] moduleIDList)
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[] moduleIDList)
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[] moduleIDList,
File moduleArchive,
File deploymentPlan)
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[] moduleIDList,
InputStream moduleArchive,
InputStream deploymentPlan)
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-2005 Apache Software Foundation. All Rights Reserved.