|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Contract public interface EmbeddedDeployer
Service to deploy applications to the embedded server.
| Method Summary | |
|---|---|
java.lang.String |
deploy(java.io.File archive,
DeployCommandParameters params)
Deploys a file or directory to the servers passing the deployment command parameters Starts the server if it is not started yet. |
java.lang.String |
deploy(ReadableArchive archive,
DeployCommandParameters params)
Deploys an archive abstraction to the servers passing the deployment command parameters |
java.io.File |
getApplicationsDir()
Returns the location of the applications directory, where deployed applications are saved. |
java.io.File |
getAutoDeployDir()
Returns the location of the auto-deploy directory. |
void |
setAutoDeploy(boolean flag)
Enables or disables the auto-deployment feature |
void |
undeploy(java.lang.String name,
UndeployCommandParameters params)
Undeploys a previously deployed application |
void |
undeployAll()
Undeploys all deployed applications. |
| Method Detail |
|---|
java.io.File getApplicationsDir()
java.io.File getAutoDeployDir()
void setAutoDeploy(boolean flag)
flag - set to true to enable, false to disable
java.lang.String deploy(java.io.File archive,
DeployCommandParameters params)
archive - archive or directory of the applicationparams - deployment command parameters
java.lang.String deploy(ReadableArchive archive,
DeployCommandParameters params)
archive - archive or directory of the applicationparams - deployment command parameters
void undeploy(java.lang.String name,
UndeployCommandParameters params)
name - name returned by EmbeddedDeployer#deploy(File, org.glassfish.api.deployment.DeployCommandParametersparams - the undeployment parameters, can be null for default valuesvoid undeployAll()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||