|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.ishmael.deploy.spi.BasicDeploymentManager
org.ow2.ishmael.deploy.spi.BasicConnectedDeploymentManager
public class BasicConnectedDeploymentManager
BasicDeploymentManager.java This is the disconnected-mode JSR-88 DeploymentManager for JOnAS. Created: Fri Nov 22 15:36:32 2002
| Nested Class Summary | |
|---|---|
protected class |
BasicConnectedDeploymentManager.JOnASTarget
|
| Field Summary | |
|---|---|
static java.lang.String |
APPLICATION_FILE_NAME
Path of the application.xml deploymnet descriptor file |
static java.lang.String |
CLIENT_FILE_NAME
The path to the application-client.xml file. |
static java.lang.String |
EJB_JAR_FILE_NAME
ejb-jar.xml filename |
static java.lang.String |
JONAS_APPLICATION_FILE_NAME
Path of the jonas-application.xml deploymnet descriptor file |
static java.lang.String |
JONAS_CLIENT_FILE_NAME
The path to the jonas-client.xml file. |
static java.lang.String |
JONAS_EJB_JAR_FILE_NAME
jonas-ejb-jar.xml filename |
static java.lang.String |
JONAS_RA_FILE_NAME
Path of the jonas-ra.xml deploymnet descriptor file |
static java.lang.String |
JONAS_WEB_FILE_NAME
The path to the jonas-web.xml file. |
static java.lang.String |
JONAS_WS_EJBJAR_FILE_NAME
jonas-ejb-jar.xml filename |
static java.lang.String |
JONAS_WS_WEBAPP_FILE_NAME
jonas-ejb-jar.xml filename |
static java.lang.String |
RA_FILE_NAME
Path of the ra.xml deploymnet descriptor file |
static java.lang.String |
WEB_FILE_NAME
The path to the web.xml file. |
static java.lang.String |
WS_EJBJAR_FILE_NAME
ejb-jar.xml filename |
static java.lang.String |
WS_WEBAPP_FILE_NAME
ejb-jar.xml filename |
static java.lang.String |
WSGENClASSNAME
Class of JOnAS WsGen generator |
| Constructor Summary | |
|---|---|
BasicConnectedDeploymentManager(java.lang.String uri,
java.lang.String userName,
java.lang.String password)
|
|
| Method Summary | |
|---|---|
javax.enterprise.deploy.spi.status.ProgressObject |
distribute(javax.enterprise.deploy.spi.Target[] targets,
java.io.File fileArchive,
java.io.File plan)
The distribute method performs three tasks; it validates the deployment configuration data, generates all container specific classes and interfaces, and moves the fully baked archive to the designated deployment targets. |
javax.enterprise.deploy.spi.status.ProgressObject |
distribute(javax.enterprise.deploy.spi.Target[] targets,
java.io.InputStream archive,
java.io.InputStream plan)
The distribute method performs three tasks; it validates the deployment configuration data, generates all container specific classes and interfaces, and moves the fully baked archive to the designated deployment targets. |
javax.enterprise.deploy.spi.status.ProgressObject |
distribute(javax.enterprise.deploy.spi.Target[] arg0,
javax.enterprise.deploy.shared.ModuleType arg1,
java.io.InputStream arg2,
java.io.InputStream arg3)
|
javax.enterprise.deploy.spi.TargetModuleID[] |
getAvailableModules(javax.enterprise.deploy.shared.ModuleType param1,
javax.enterprise.deploy.spi.Target[] param2)
Retrieve the list of all J2EE application modules running or not running on the identified targets. |
javax.enterprise.deploy.spi.TargetModuleID[] |
getNonRunningModules(javax.enterprise.deploy.shared.ModuleType param1,
javax.enterprise.deploy.spi.Target[] param2)
|
javax.enterprise.deploy.spi.TargetModuleID[] |
getRunningModules(javax.enterprise.deploy.shared.ModuleType param1,
javax.enterprise.deploy.spi.Target[] param2)
Retrieve the list of J2EE application modules distributed to the identified targets and that are currently running on the associated server or servers |
javax.enterprise.deploy.spi.Target[] |
getTargets()
|
void |
release()
|
javax.enterprise.deploy.spi.status.ProgressObject |
start(javax.enterprise.deploy.spi.TargetModuleID[] param1)
Start one or more targets. |
javax.enterprise.deploy.spi.status.ProgressObject |
stop(javax.enterprise.deploy.spi.TargetModuleID[] param1)
Stop one or more targets. |
javax.enterprise.deploy.spi.status.ProgressObject |
undeploy(javax.enterprise.deploy.spi.TargetModuleID[] param1)
Remove the application from the target server. |
| Methods inherited from class org.ow2.ishmael.deploy.spi.BasicDeploymentManager |
|---|
createConfiguration, getCurrentLocale, getDConfigBeanVersion, getDefaultLocale, getSupportedLocales, isDConfigBeanVersionSupported, isLocaleSupported, isRedeploySupported, redeploy, redeploy, setDConfigBeanVersion, setLocale |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String APPLICATION_FILE_NAME
public static final java.lang.String JONAS_APPLICATION_FILE_NAME
public static final java.lang.String RA_FILE_NAME
public static final java.lang.String JONAS_RA_FILE_NAME
public static final java.lang.String CLIENT_FILE_NAME
public static final java.lang.String JONAS_CLIENT_FILE_NAME
public static final java.lang.String EJB_JAR_FILE_NAME
public static final java.lang.String JONAS_EJB_JAR_FILE_NAME
public static final java.lang.String WEB_FILE_NAME
public static final java.lang.String JONAS_WEB_FILE_NAME
public static final java.lang.String WS_EJBJAR_FILE_NAME
public static final java.lang.String JONAS_WS_EJBJAR_FILE_NAME
public static final java.lang.String WS_WEBAPP_FILE_NAME
public static final java.lang.String JONAS_WS_WEBAPP_FILE_NAME
public static final java.lang.String WSGENClASSNAME
| Constructor Detail |
|---|
public BasicConnectedDeploymentManager(java.lang.String uri,
java.lang.String userName,
java.lang.String password)
throws IshmaelDeploymentManagerCreationException
IshmaelDeploymentManagerCreationException| Method Detail |
|---|
public javax.enterprise.deploy.spi.status.ProgressObject start(javax.enterprise.deploy.spi.TargetModuleID[] param1)
throws java.lang.IllegalStateException
start in interface javax.enterprise.deploy.spi.DeploymentManagerstart in class BasicDeploymentManagerjava.lang.IllegalStateException - thrown because we're in disconnected mode
public javax.enterprise.deploy.spi.status.ProgressObject stop(javax.enterprise.deploy.spi.TargetModuleID[] param1)
throws java.lang.IllegalStateException
stop in interface javax.enterprise.deploy.spi.DeploymentManagerstop in class BasicDeploymentManagerjava.lang.IllegalStateException - thrown because we're in disconnected mode
public javax.enterprise.deploy.spi.Target[] getTargets()
throws java.lang.IllegalStateException
getTargets in interface javax.enterprise.deploy.spi.DeploymentManagergetTargets in class BasicDeploymentManagerjava.lang.IllegalStateException - thrown because we're in disconnected mode
public javax.enterprise.deploy.spi.TargetModuleID[] getRunningModules(javax.enterprise.deploy.shared.ModuleType param1,
javax.enterprise.deploy.spi.Target[] param2)
throws javax.enterprise.deploy.spi.exceptions.TargetException,
java.lang.IllegalStateException
getRunningModules in interface javax.enterprise.deploy.spi.DeploymentManagergetRunningModules in class BasicDeploymentManagerparam1 - module J2EE module type.param2 - target A list of deployment Target designators
javax.enterprise.deploy.spi.exceptions.TargetException - An invalid Target designator encountered.
java.lang.IllegalStateException - is thrown when the method is called when running in disconnected mode
public javax.enterprise.deploy.spi.TargetModuleID[] getNonRunningModules(javax.enterprise.deploy.shared.ModuleType param1,
javax.enterprise.deploy.spi.Target[] param2)
throws javax.enterprise.deploy.spi.exceptions.TargetException,
java.lang.IllegalStateException
getNonRunningModules in interface javax.enterprise.deploy.spi.DeploymentManagergetNonRunningModules in class BasicDeploymentManagerparam1 - param2 - javax.enterprise.deploy.spi.exceptions.TargetException - java.lang.IllegalStateException -
public javax.enterprise.deploy.spi.TargetModuleID[] getAvailableModules(javax.enterprise.deploy.shared.ModuleType param1,
javax.enterprise.deploy.spi.Target[] param2)
throws javax.enterprise.deploy.spi.exceptions.TargetException,
java.lang.IllegalStateException
getAvailableModules in interface javax.enterprise.deploy.spi.DeploymentManagergetAvailableModules in class BasicDeploymentManagerparam1 - ModuleTypeparam2 - Target[]
javax.enterprise.deploy.spi.exceptions.TargetException - java.lang.IllegalStateException -
public javax.enterprise.deploy.spi.status.ProgressObject distribute(javax.enterprise.deploy.spi.Target[] targets,
java.io.InputStream archive,
java.io.InputStream plan)
throws java.lang.IllegalStateException
distribute in interface javax.enterprise.deploy.spi.DeploymentManagerdistribute in class BasicDeploymentManagerparam1 - param2 - param3 - java.lang.IllegalStateException -
public javax.enterprise.deploy.spi.status.ProgressObject distribute(javax.enterprise.deploy.spi.Target[] arg0,
javax.enterprise.deploy.shared.ModuleType arg1,
java.io.InputStream arg2,
java.io.InputStream arg3)
throws java.lang.IllegalStateException
distribute in interface javax.enterprise.deploy.spi.DeploymentManagerdistribute in class BasicDeploymentManagerjava.lang.IllegalStateException
public javax.enterprise.deploy.spi.status.ProgressObject distribute(javax.enterprise.deploy.spi.Target[] targets,
java.io.File fileArchive,
java.io.File plan)
throws java.lang.IllegalStateException
distribute in interface javax.enterprise.deploy.spi.DeploymentManagerdistribute in class BasicDeploymentManagertargets - to distributefileArchive - initial archiveplan - jar file containing specific deployment descriptor to inject and a JOnAS Plan
java.lang.IllegalStateException -
public javax.enterprise.deploy.spi.status.ProgressObject undeploy(javax.enterprise.deploy.spi.TargetModuleID[] param1)
throws java.lang.IllegalStateException
undeploy in interface javax.enterprise.deploy.spi.DeploymentManagerundeploy in class BasicDeploymentManagerparam1 - target to be undeploy
java.lang.IllegalStateException - public void release()
release in interface javax.enterprise.deploy.spi.DeploymentManagerrelease in class BasicDeploymentManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||