|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.deployment.spi.DeploymentManagerImpl
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.
| Constructor Summary | |
DeploymentManagerImpl(URI deployURI,
boolean isConnected)
Create a deployment manager for the given URL and connected mode. |
|
DeploymentManagerImpl(URI deployURI,
boolean isConnected,
String username,
String password)
Create a deployment manager for the given URL and connected mode, username and password. |
|
| Method Summary | |
javax.enterprise.deploy.spi.DeploymentConfiguration |
createConfiguration(javax.enterprise.deploy.model.DeployableObject obj)
Retrieve server specific configuration for a component |
javax.enterprise.deploy.spi.status.ProgressObject |
distribute(javax.enterprise.deploy.spi.Target[] targets,
File moduleArchive,
File deploymentPlan)
Validates the configuration, generates all container specific classes and moves the archive to the targets |
javax.enterprise.deploy.spi.status.ProgressObject |
distribute(javax.enterprise.deploy.spi.Target[] targets,
InputStream moduleArchive,
InputStream deploymentPlan)
Validates the configuration, generates all container specific classes and moves the archive to the targets |
javax.enterprise.deploy.spi.TargetModuleID[] |
getAvailableModules(javax.enterprise.deploy.shared.ModuleType moduleType,
javax.enterprise.deploy.spi.Target[] targets)
Retrieve the list of all J2EE application modules running or not running on the identified targets. |
Locale |
getCurrentLocale()
Currently we only support the default locale |
javax.enterprise.deploy.shared.DConfigBeanVersionType |
getDConfigBeanVersion()
Get the J2EE platform version |
Locale |
getDefaultLocale()
Get the default locale |
javax.enterprise.deploy.spi.TargetModuleID[] |
getNonRunningModules(javax.enterprise.deploy.shared.ModuleType moduleType,
javax.enterprise.deploy.spi.Target[] targets)
Get the non running modules |
javax.enterprise.deploy.spi.TargetModuleID[] |
getRunningModules(javax.enterprise.deploy.shared.ModuleType moduleType,
javax.enterprise.deploy.spi.Target[] targets)
Get the running modules |
Locale[] |
getSupportedLocales()
Currently we only support the default locale |
javax.enterprise.deploy.spi.Target[] |
getTargets()
Get the available targets. |
boolean |
isDConfigBeanVersionSupported(javax.enterprise.deploy.shared.DConfigBeanVersionType dConfigBeanVersionType)
|
boolean |
isDConfigBeanVersionTypeSupported(javax.enterprise.deploy.shared.DConfigBeanVersionType version)
Test whether the version is supported |
boolean |
isLocaleSupported(Locale locale)
Currently we only support the default locale |
boolean |
isRedeploySupported()
Is redeploy supported |
javax.enterprise.deploy.spi.status.ProgressObject |
redeploy(javax.enterprise.deploy.spi.TargetModuleID[] moduleIDList)
Redeploys the modules |
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()
The release method is the mechanism by which the tool signals to the DeploymentManager that the tool does not need it to continue running connected to the platform. |
void |
setDConfigBeanVersion(javax.enterprise.deploy.shared.DConfigBeanVersionType dConfigBeanVersionType)
|
void |
setDConfigBeanVersionType(javax.enterprise.deploy.shared.DConfigBeanVersionType version)
Set the J2EE version |
void |
setLocale(Locale locale)
Currently we only support the default locale |
javax.enterprise.deploy.spi.status.ProgressObject |
start(javax.enterprise.deploy.spi.TargetModuleID[] targetModuleIDs)
Start the modules |
javax.enterprise.deploy.spi.status.ProgressObject |
stop(javax.enterprise.deploy.spi.TargetModuleID[] targetModuleIDs)
Stop the modules |
javax.enterprise.deploy.spi.status.ProgressObject |
undeploy(javax.enterprise.deploy.spi.TargetModuleID[] targetModuleIDs)
Removes the modules |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DeploymentManagerImpl(URI deployURI, boolean isConnected)
deployURI - isConnected - public DeploymentManagerImpl(URI deployURI, boolean isConnected, String username, String password)
deployURI - isConnected - username - password - | Method Detail |
public javax.enterprise.deploy.spi.Target[] getTargets()
getTargets in interface javax.enterprise.deploy.spi.DeploymentManagerIllegalStateException - when the manager is disconnected
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
getRunningModules in interface javax.enterprise.deploy.spi.DeploymentManagermoduleType - the module typetargets - the targets
javax.enterprise.deploy.spi.exceptions.TargetException - an invalid target
IllegalStateException - when the manager is disconnected
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
getNonRunningModules in interface javax.enterprise.deploy.spi.DeploymentManagermoduleType - the module typetargets - the targets
javax.enterprise.deploy.spi.exceptions.TargetException - an invalid target
IllegalStateException - when the manager is disconnected
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
getAvailableModules in interface javax.enterprise.deploy.spi.DeploymentManagermoduleType - the module typetargets - the targets
javax.enterprise.deploy.spi.exceptions.TargetException - an invalid target
IllegalStateException - when the manager is disconnected
public javax.enterprise.deploy.spi.DeploymentConfiguration createConfiguration(javax.enterprise.deploy.model.DeployableObject obj)
throws javax.enterprise.deploy.spi.exceptions.InvalidModuleException
createConfiguration in interface javax.enterprise.deploy.spi.DeploymentManagerobj - the deployable component
javax.enterprise.deploy.spi.exceptions.InvalidModuleException - when the module does not exist or is not supported
public javax.enterprise.deploy.spi.status.ProgressObject distribute(javax.enterprise.deploy.spi.Target[] targets,
File moduleArchive,
File deploymentPlan)
distribute in interface javax.enterprise.deploy.spi.DeploymentManagertargets - the targetsmoduleArchive - the module archivedeploymentPlan - the runtime configuration
IllegalStateException - when the manager is disconnected
public javax.enterprise.deploy.spi.status.ProgressObject distribute(javax.enterprise.deploy.spi.Target[] targets,
InputStream moduleArchive,
InputStream deploymentPlan)
distribute in interface javax.enterprise.deploy.spi.DeploymentManagertargets - the targetsmoduleArchive - the module archivedeploymentPlan - the runtime configuration
IllegalStateException - when the manager is disconnected
public javax.enterprise.deploy.spi.status.ProgressObject redeploy(javax.enterprise.deploy.spi.TargetModuleID[] targetModuleIDs,
File file,
File file1)
throws UnsupportedOperationException,
IllegalStateException
redeploy in interface javax.enterprise.deploy.spi.DeploymentManager
public javax.enterprise.deploy.spi.status.ProgressObject redeploy(javax.enterprise.deploy.spi.TargetModuleID[] targetModuleIDs,
InputStream inputStream,
InputStream inputStream1)
throws UnsupportedOperationException,
IllegalStateException
redeploy in interface javax.enterprise.deploy.spi.DeploymentManagerpublic javax.enterprise.deploy.spi.status.ProgressObject start(javax.enterprise.deploy.spi.TargetModuleID[] targetModuleIDs)
start in interface javax.enterprise.deploy.spi.DeploymentManagertargetModuleIDs - the list of modules
IllegalStateException - when the manager is disconnectedpublic javax.enterprise.deploy.spi.status.ProgressObject stop(javax.enterprise.deploy.spi.TargetModuleID[] targetModuleIDs)
stop in interface javax.enterprise.deploy.spi.DeploymentManagertargetModuleIDs - the list of modules
IllegalStateException - when the manager is disconnectedpublic javax.enterprise.deploy.spi.status.ProgressObject undeploy(javax.enterprise.deploy.spi.TargetModuleID[] targetModuleIDs)
undeploy in interface javax.enterprise.deploy.spi.DeploymentManagertargetModuleIDs - the list of modules
IllegalStateException - when the manager is disconnectedpublic boolean isRedeploySupported()
isRedeploySupported in interface javax.enterprise.deploy.spi.DeploymentManagerpublic javax.enterprise.deploy.spi.status.ProgressObject redeploy(javax.enterprise.deploy.spi.TargetModuleID[] moduleIDList)
moduleIDList - the list of modules
IllegalStateException - when the manager is disconnected
UnsupportedOperationException - when redeploy is not supportedpublic void release()
release in interface javax.enterprise.deploy.spi.DeploymentManagerpublic Locale getDefaultLocale()
getDefaultLocale in interface javax.enterprise.deploy.spi.DeploymentManagerpublic Locale getCurrentLocale()
getCurrentLocale in interface javax.enterprise.deploy.spi.DeploymentManagerpublic void setLocale(Locale locale)
setLocale in interface javax.enterprise.deploy.spi.DeploymentManagerpublic boolean isLocaleSupported(Locale locale)
isLocaleSupported in interface javax.enterprise.deploy.spi.DeploymentManagerpublic Locale[] getSupportedLocales()
getSupportedLocales in interface javax.enterprise.deploy.spi.DeploymentManagerpublic javax.enterprise.deploy.shared.DConfigBeanVersionType getDConfigBeanVersion()
getDConfigBeanVersion in interface javax.enterprise.deploy.spi.DeploymentManager
public void setDConfigBeanVersion(javax.enterprise.deploy.shared.DConfigBeanVersionType dConfigBeanVersionType)
throws javax.enterprise.deploy.spi.exceptions.DConfigBeanVersionUnsupportedException
setDConfigBeanVersion in interface javax.enterprise.deploy.spi.DeploymentManagerjavax.enterprise.deploy.spi.exceptions.DConfigBeanVersionUnsupportedExceptionpublic boolean isDConfigBeanVersionSupported(javax.enterprise.deploy.shared.DConfigBeanVersionType dConfigBeanVersionType)
isDConfigBeanVersionSupported in interface javax.enterprise.deploy.spi.DeploymentManagerpublic boolean isDConfigBeanVersionTypeSupported(javax.enterprise.deploy.shared.DConfigBeanVersionType version)
version - the version
public void setDConfigBeanVersionType(javax.enterprise.deploy.shared.DConfigBeanVersionType version)
version - the version
UnsupportedOperationException - when the version is not supported
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||