public interface VirtServerRegistryMBean
extends org.springframework.context.ApplicationContextAware
| Modifier and Type | Method and Description |
|---|---|
String |
getAccessFile()
Gets access "role" file used by virt server
|
String |
getPasswordFile()
Gets password file used to access virt server
|
String |
getVirtServerFQDN() |
Integer |
getVirtServerHttpPort() |
String |
getVirtServerJmxUrl() |
void |
initialize() |
void |
registerVirtServerInfo(String virtServerJmxUrl,
String virtServerFQDN,
Integer virtServerHttpPort) |
boolean |
removeAllWebapps(int version,
String path,
boolean isRecursive)
Notifies remote listener that a AVM-based webapp has been removed.
|
boolean |
removeWebapp(int version,
String pathToWebapp,
boolean isRecursive)
Notifies remote listener that a AVM-based webapp has been removed.
|
void |
setAccessFile(String path)
Sets access "role" file used by virt server
|
void |
setPasswordFile(String path)
Sets password file used to access virt server
|
boolean |
updateAllWebapps(int version,
String path,
boolean isRecursive)
Notifies remote listener that a AVM-based webapp has been updated;
an "update" is any change to (or creation of) contents within
WEB-INF/classes WEB-INF/lib, WEB-INF/web.xml of a webapp.
|
boolean |
updateWebapp(int version,
String pathToWebapp,
boolean isRecursive)
Notifies remote listener that a AVM-based webapp has been updated;
an "update" is any change to (or creation of) contents within
WEB-INF/classes WEB-INF/lib, WEB-INF/web.xml of a webapp.
|
void initialize()
String getVirtServerJmxUrl()
Integer getVirtServerHttpPort()
String getVirtServerFQDN()
void registerVirtServerInfo(String virtServerJmxUrl, String virtServerFQDN, Integer virtServerHttpPort)
void setPasswordFile(String path)
String getPasswordFile()
void setAccessFile(String path)
String getAccessFile()
boolean updateWebapp(int version,
String pathToWebapp,
boolean isRecursive)
version - The version of the webapp being updated.
Typically, this is set to -1, which corresponds
to the very latest version ("HEAD").
If versinon != -1, you might want to consider
setting the 'isRecursive' parameter to false.
pathToWebapp - The full AVM path to the webapp being updated.
For example: repoName:/www/avm_webapps/your_webapp
isRecursive - When true, update all webapps that depend on this one.
For example, an author's webapps share jar/class files
with the master version in staging; thus, the author's
webapp "depends" on the webapp in staging. Similarly,
webapps in an author's preview area depend on the ones
in the "main" layer of the author's sandbox.
You might wish to set this parameter to 'false' if
the goal is to bring a non-HEAD version of a staging
area online, without forcing the virtualization server
to load all the author sandboxes for this archived
version as well.boolean updateAllWebapps(int version,
String path,
boolean isRecursive)
version - The version of the webapp being updated.
Typically, this is set to -1, which corresponds
to the very latest version ("HEAD").
If versinon != -1, you might want to consider
setting the 'isRecursive' parameter to false.
path - The full AVM path to the webapp being updated.
For example: repoName:/www/avm_webapps/your_webapp
isRecursive - When true, update all webapps that depend on this one.
For example, an author's webapps share jar/class files
with the master version in staging; thus, the author's
webapp "depends" on the webapp in staging. Similarly,
webapps in an author's preview area depend on the ones
in the "main" layer of the author's sandbox.
You might wish to set this parameter to 'false' if
the goal is to bring a non-HEAD version of a staging
area online, without forcing the virtualization server
to load all the author sandboxes for this archived
version as well.boolean removeWebapp(int version,
String pathToWebapp,
boolean isRecursive)
version - The version of the webapp being removed.
Typically, this is set to -1, which corresponds
to the very latest version ("HEAD").
If versinon != -1, you might want to consider
setting the 'isRecursive' parameter to false.
pathToWebapp - The full AVM path to the webapp being removed.
For example: repoName:/www/avm_webapps/your_webapp
isRecursive - When true, remove all webapps that depend on this one.
For example, an author's webapps share jar/class files
with the master version in staging; thus, the author's
webapp "depends" on the webapp in staging. Similarly,
webapps in an author's preview area depend on the ones
in the "main" layer of the author's sandbox.
You might wish to set this parameter to 'false' if
the goal is to bring a non-HEAD version of a staging
area online, without forcing the virtualization server
to load all the author sandboxes for this archived
version as well.boolean removeAllWebapps(int version,
String path,
boolean isRecursive)
version - The version of the webapp being removed.
Typically, this is set to -1, which corresponds
to the very latest version ("HEAD").
If versinon != -1, you might want to consider
setting the 'isRecursive' parameter to false.
path - The full AVM path to the webapp being removed.
For example: repoName:/www/avm_webapps/your_webapp
isRecursive - When true, remove all webapps that depend on this one.
For example, an author's webapps share jar/class files
with the master version in staging; thus, the author's
webapp "depends" on the webapp in staging. Similarly,
webapps in an author's preview area depend on the ones
in the "main" layer of the author's sandbox.
You might wish to set this parameter to 'false' if
the goal is to bring a non-HEAD version of a staging
area online, without forcing the virtualization server
to load all the author sandboxes for this archived
version as well.Copyright © 2005–2014 Alfresco Software. All rights reserved.