|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The DeploymentManager object provides the core set of functions a J2EE platform must provide for J2EE application deployment. It provides server related information, such as, a list of deployment targets, and vendor unique runtime configuration information.
| Method Summary | |
DeploymentConfiguration (src) |
createConfiguration(DeployableObject (src) obj)
Retrieve server specific configuration for a component |
ProgressObject (src) |
distribute(Target (src) [] targets,
java.io.File moduleArchive,
java.io.File deploymentPlan)
Validates the configuration, generates all container specific classes and moves the archive to the targets |
ProgressObject (src) |
distribute(Target (src) [] targets,
java.io.InputStream moduleArchive,
java.io.InputStream deploymentPlan)
Validates the configuration, generates all container specific classes and moves the archive to the targets |
TargetModuleID (src) [] |
getAvailableModules(ModuleType (src) moduleType,
Target (src) [] targets)
Get the available modules both running and non running |
java.util.Locale |
getCurrentLocale()
Get the current local |
DConfigBeanVersionType (src) |
getDConfigBeanVersion()
Get the J2EE platform version |
java.util.Locale |
getDefaultLocale()
Get the default locale |
TargetModuleID (src) [] |
getNonRunningModules(ModuleType (src) moduleType,
Target (src) [] targets)
Get the non running modules |
TargetModuleID (src) [] |
getRunningModules(ModuleType (src) moduleType,
Target (src) [] targets)
Get the running modules |
java.util.Locale[] |
getSupportedLocales()
Get the supported locales |
Target (src) [] |
getTargets()
Get the available targets |
boolean |
isDConfigBeanVersionSupported(DConfigBeanVersionType (src) version)
Test whether the version is supported |
boolean |
isLocaleSupported(java.util.Locale locale)
Is the locale supported |
boolean |
isRedeploySupported()
Is redeploy supported |
ProgressObject (src) |
redeploy(TargetModuleID (src) [] moduleIDList,
java.io.File moduleArchive,
java.io.File deploymentPlan)
Redeploys the modules |
ProgressObject (src) |
redeploy(TargetModuleID (src) [] moduleIDList,
java.io.InputStream moduleArchive,
java.io.InputStream deploymentPlan)
Redeploys the modules |
void |
release()
Release the deployment manager |
void |
setDConfigBeanVersion(DConfigBeanVersionType (src) version)
Set the J2EE version |
void |
setLocale(java.util.Locale locale)
Set the locale |
ProgressObject (src) |
start(TargetModuleID (src) [] moduleIDList)
Start the modules |
ProgressObject (src) |
stop(TargetModuleID (src) [] moduleIDList)
Stop the modules |
ProgressObject (src) |
undeploy(TargetModuleID (src) [] moduleIDList)
Removes the modules |
| Method Detail |
public Target (src) [] getTargets()
throws java.lang.IllegalStateException
java.lang.IllegalStateException - when the manager is disconnected
public TargetModuleID (src) [] getRunningModules(ModuleType (src) moduleType,
Target (src) [] targets)
throws TargetException (src) ,
java.lang.IllegalStateException
moduleType - the module typetargets - the targets
TargetException (src) - an invalid target
java.lang.IllegalStateException - when the manager is disconnected
public TargetModuleID (src) [] getNonRunningModules(ModuleType (src) moduleType,
Target (src) [] targets)
throws TargetException (src) ,
java.lang.IllegalStateException
moduleType - the module typetargets - the targets
TargetException (src) - an invalid target
java.lang.IllegalStateException - when the manager is disconnected
public TargetModuleID (src) [] getAvailableModules(ModuleType (src) moduleType,
Target (src) [] targets)
throws TargetException (src) ,
java.lang.IllegalStateException
moduleType - the module typetargets - the targets
TargetException (src) - an invalid target
java.lang.IllegalStateException - when the manager is disconnected
public DeploymentConfiguration (src) createConfiguration(DeployableObject (src) obj)
throws InvalidModuleException (src)
obj - the deployable component
InvalidModuleException (src) - when the module does not exist or is not supported
public ProgressObject (src) distribute(Target (src) [] targets,
java.io.File moduleArchive,
java.io.File deploymentPlan)
throws java.lang.IllegalStateException
targets - the targetsmoduleArchive - the module archivedeploymentPlan - the runtime configuration
java.lang.IllegalStateException - when the manager is disconnected
public ProgressObject (src) distribute(Target (src) [] targets,
java.io.InputStream moduleArchive,
java.io.InputStream deploymentPlan)
throws java.lang.IllegalStateException
targets - the targetsmoduleArchive - the module archivedeploymentPlan - the runtime configuration
java.lang.IllegalStateException - when the manager is disconnected
public ProgressObject (src) start(TargetModuleID (src) [] moduleIDList)
throws java.lang.IllegalStateException
moduleIDList - the list of modules
java.lang.IllegalStateException - when the manager is disconnected
public ProgressObject (src) stop(TargetModuleID (src) [] moduleIDList)
throws java.lang.IllegalStateException
moduleIDList - the list of modules
java.lang.IllegalStateException - when the manager is disconnected
public ProgressObject (src) undeploy(TargetModuleID (src) [] moduleIDList)
throws java.lang.IllegalStateException
moduleIDList - the list of modules
java.lang.IllegalStateException - when the manager is disconnectedpublic boolean isRedeploySupported()
public ProgressObject (src) redeploy(TargetModuleID (src) [] moduleIDList,
java.io.File moduleArchive,
java.io.File deploymentPlan)
throws java.lang.UnsupportedOperationException,
java.lang.IllegalStateException
moduleIDList - the list of modules
java.lang.IllegalStateException - when the manager is disconnected
java.lang.UnsupportedOperationException - when redeploy is not supported
public ProgressObject (src) redeploy(TargetModuleID (src) [] moduleIDList,
java.io.InputStream moduleArchive,
java.io.InputStream deploymentPlan)
throws java.lang.UnsupportedOperationException,
java.lang.IllegalStateException
moduleIDList - the list of modules
java.lang.IllegalStateException - when the manager is disconnected
java.lang.UnsupportedOperationException - when redeploy is not supportedpublic void release()
public java.util.Locale getDefaultLocale()
public java.util.Locale getCurrentLocale()
public void setLocale(java.util.Locale locale)
throws java.lang.UnsupportedOperationException
locale - the new local
java.lang.UnsupportedOperationException - when the locale is not supportedpublic java.util.Locale[] getSupportedLocales()
public boolean isLocaleSupported(java.util.Locale locale)
locale - the locale
public DConfigBeanVersionType (src) getDConfigBeanVersion()
public boolean isDConfigBeanVersionSupported(DConfigBeanVersionType (src) version)
version - the version
public void setDConfigBeanVersion(DConfigBeanVersionType (src) version)
throws DConfigBeanVersionUnsupportedException (src)
version - the version
java.lang.UnsupportedOperationException - when the version is not supported
DConfigBeanVersionUnsupportedException (src)
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||