public class VmDeploymentManager
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
VmDeploymentManager.DeploymentStatusImpl |
class |
VmDeploymentManager.ProgressObjectImpl |
static class |
VmDeploymentManager.TargetImpl |
static class |
VmDeploymentManager.TargetModuleIDImpl |
Constructor and Description |
---|
VmDeploymentManager() |
Modifier and Type | Method and Description |
---|---|
DeploymentConfiguration |
createConfiguration(DeployableObject deployableObject) |
ProgressObject |
distribute(Target[] targetList,
java.io.File moduleFile,
java.io.File planFile) |
ProgressObject |
distribute(Target[] targetList,
java.io.InputStream moduleStream,
java.io.InputStream planStream) |
TargetModuleID[] |
getAvailableModules(ModuleType moduleType,
Target[] targetList) |
java.util.Locale |
getCurrentLocale() |
DConfigBeanVersionType |
getDConfigBeanVersion() |
java.util.Locale |
getDefaultLocale() |
TargetModuleID[] |
getNonRunningModules(ModuleType moduleType,
Target[] targetList) |
TargetModuleID[] |
getRunningModules(ModuleType moduleType,
Target[] targetList) |
java.util.Locale[] |
getSupportedLocales() |
Target[] |
getTargets() |
boolean |
isDConfigBeanVersionSupported(DConfigBeanVersionType version) |
boolean |
isLocaleSupported(java.util.Locale locale) |
boolean |
isRedeploySupported() |
protected void |
print(ValidationException[] exceptions,
java.io.PrintStream out,
int level) |
ProgressObject |
redeploy(TargetModuleID[] moduleIDList,
java.io.File moduleArchive,
java.io.File deploymentPlan) |
ProgressObject |
redeploy(TargetModuleID[] moduleIDList,
java.io.InputStream moduleArchive,
java.io.InputStream deploymentPlan) |
void |
release() |
void |
setDConfigBeanVersion(DConfigBeanVersionType version) |
void |
setLocale(java.util.Locale locale) |
ProgressObject |
start(TargetModuleID[] moduleIdList) |
ProgressObject |
stop(TargetModuleID[] moduleIdList) |
java.lang.String |
toString() |
ProgressObject |
undeploy(TargetModuleID[] moduleIdList) |
public void release()
public Target[] getTargets()
public TargetModuleID[] getAvailableModules(ModuleType moduleType, Target[] targetList) throws TargetException
TargetException
public TargetModuleID[] getNonRunningModules(ModuleType moduleType, Target[] targetList) throws TargetException
TargetException
public TargetModuleID[] getRunningModules(ModuleType moduleType, Target[] targetList) throws TargetException
TargetException
public ProgressObject distribute(Target[] targetList, java.io.File moduleFile, java.io.File planFile)
public ProgressObject distribute(Target[] targetList, java.io.InputStream moduleStream, java.io.InputStream planStream)
protected void print(ValidationException[] exceptions, java.io.PrintStream out, int level)
public ProgressObject start(TargetModuleID[] moduleIdList)
public ProgressObject stop(TargetModuleID[] moduleIdList)
public ProgressObject undeploy(TargetModuleID[] moduleIdList)
public boolean isRedeploySupported()
public ProgressObject redeploy(TargetModuleID[] moduleIDList, java.io.File moduleArchive, java.io.File deploymentPlan)
public ProgressObject redeploy(TargetModuleID[] moduleIDList, java.io.InputStream moduleArchive, java.io.InputStream deploymentPlan)
public java.util.Locale[] getSupportedLocales()
public java.util.Locale getCurrentLocale()
public java.util.Locale getDefaultLocale()
public boolean isLocaleSupported(java.util.Locale locale)
public void setLocale(java.util.Locale locale)
public DConfigBeanVersionType getDConfigBeanVersion()
public boolean isDConfigBeanVersionSupported(DConfigBeanVersionType version)
public void setDConfigBeanVersion(DConfigBeanVersionType version) throws DConfigBeanVersionUnsupportedException
DConfigBeanVersionUnsupportedException
public DeploymentConfiguration createConfiguration(DeployableObject deployableObject) throws InvalidModuleException
InvalidModuleException
public java.lang.String toString()
toString
in class java.lang.Object