|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.j2ee.deployclient.DeploymentManagerImpl
public class DeploymentManagerImpl
Manager for the deployments.
| Method Summary | |
|---|---|
DeploymentConfiguration |
createConfiguration(DeployableObject dObj)
Returns a configuration for the deployable object. |
ProgressObject |
distribute(Target[] targetList,
java.io.File archive,
java.io.File deploymentPlan)
Deploys the object. |
ProgressObject |
distribute(Target[] targetList,
java.io.InputStream archive,
java.io.InputStream deploymentPlan)
Deploys the object. |
ProgressObject |
distribute(Target[] arg0,
ModuleType arg1,
java.io.InputStream arg2,
java.io.InputStream arg3)
|
TargetModuleID[] |
getAvailableModules(ModuleType moduleType,
Target[] targetList)
Returns all available modules. |
java.util.Locale |
getCurrentLocale()
Returns the current locale. |
DConfigBeanVersionType |
getDConfigBeanVersion()
Returns the bean's J2EE version. |
java.util.Locale |
getDefaultLocale()
Returns the default locale. |
TargetModuleID[] |
getNonRunningModules(ModuleType moduleType,
Target[] targetList)
Returns the current non-running modules. |
TargetModuleID[] |
getRunningModules(ModuleType moduleType,
Target[] targetList)
Returns the current running modules. |
java.util.Locale[] |
getSupportedLocales()
Returns the supported locales. |
Target[] |
getTargets()
Returns the targets supported by the manager. |
boolean |
isDConfigBeanVersionSupported(DConfigBeanVersionType version)
Returns true if the given version is supported. |
boolean |
isLocaleSupported(java.util.Locale locale)
Returns true if the locale is supported. |
boolean |
isRedeploySupported()
Returns true if the redeploy is supported. |
ProgressObject |
redeploy(TargetModuleID[] targetList,
java.io.File archive,
java.io.File deploymentPlan)
Redeploys the object. |
ProgressObject |
redeploy(TargetModuleID[] targetList,
java.io.InputStream archive,
java.io.InputStream deploymentPlan)
Redeploys the object. |
void |
release()
Frees any resources. |
void |
setDConfigBeanVersion(DConfigBeanVersionType arg0)
|
void |
setDConfigBeanVersionSupported(DConfigBeanVersionType version)
Sets true if the given version is supported. |
void |
setLocale(java.util.Locale locale)
Sets the default locale. |
ProgressObject |
start(TargetModuleID[] moduleIDList)
Starts the modules. |
ProgressObject |
stop(TargetModuleID[] moduleIDList)
Stops the modules. |
java.lang.String |
toString()
Return the debug view of the manager. |
ProgressObject |
undeploy(TargetModuleID[] moduleIDList)
Undeploys the modules. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public Target[] getTargets()
throws java.lang.IllegalStateException
java.lang.IllegalStateException
public TargetModuleID[] getRunningModules(ModuleType moduleType,
Target[] targetList)
throws TargetException,
java.lang.IllegalStateException
TargetException
java.lang.IllegalStateException
public TargetModuleID[] getNonRunningModules(ModuleType moduleType,
Target[] targetList)
throws TargetException,
java.lang.IllegalStateException
TargetException
java.lang.IllegalStateException
public TargetModuleID[] getAvailableModules(ModuleType moduleType,
Target[] targetList)
throws TargetException,
java.lang.IllegalStateException
TargetException
java.lang.IllegalStateException
public DeploymentConfiguration createConfiguration(DeployableObject dObj)
throws InvalidModuleException
InvalidModuleException
public ProgressObject distribute(Target[] targetList,
java.io.File archive,
java.io.File deploymentPlan)
throws java.lang.IllegalStateException
java.lang.IllegalStateException
public ProgressObject distribute(Target[] targetList,
java.io.InputStream archive,
java.io.InputStream deploymentPlan)
throws java.lang.IllegalStateException
java.lang.IllegalStateException
public ProgressObject start(TargetModuleID[] moduleIDList)
throws java.lang.IllegalStateException
java.lang.IllegalStateException
public ProgressObject stop(TargetModuleID[] moduleIDList)
throws java.lang.IllegalStateException
java.lang.IllegalStateException
public ProgressObject undeploy(TargetModuleID[] moduleIDList)
throws java.lang.IllegalStateException
java.lang.IllegalStateExceptionpublic boolean isRedeploySupported()
public ProgressObject redeploy(TargetModuleID[] targetList,
java.io.File archive,
java.io.File deploymentPlan)
throws java.lang.IllegalStateException
java.lang.IllegalStateException
public ProgressObject redeploy(TargetModuleID[] targetList,
java.io.InputStream archive,
java.io.InputStream deploymentPlan)
throws java.lang.IllegalStateException
java.lang.IllegalStateExceptionpublic void release()
public java.util.Locale getDefaultLocale()
public java.util.Locale getCurrentLocale()
public void setLocale(java.util.Locale locale)
public java.util.Locale[] getSupportedLocales()
public boolean isLocaleSupported(java.util.Locale locale)
public DConfigBeanVersionType getDConfigBeanVersion()
public boolean isDConfigBeanVersionSupported(DConfigBeanVersionType version)
public void setDConfigBeanVersionSupported(DConfigBeanVersionType version)
throws DConfigBeanVersionUnsupportedException
DConfigBeanVersionUnsupportedExceptionpublic java.lang.String toString()
toString in class java.lang.Object
public ProgressObject distribute(Target[] arg0,
ModuleType arg1,
java.io.InputStream arg2,
java.io.InputStream arg3)
throws java.lang.IllegalStateException
java.lang.IllegalStateException
public void setDConfigBeanVersion(DConfigBeanVersionType arg0)
throws DConfigBeanVersionUnsupportedException
DConfigBeanVersionUnsupportedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||