|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.action.Action org.ow2.jonas.webapp.jonasadmin.JonasBaseAction org.ow2.jonas.webapp.jonasadmin.deploy.BaseDeployAction
public abstract class BaseDeployAction
Field Summary |
---|
Fields inherited from class org.ow2.jonas.webapp.jonasadmin.JonasBaseAction |
---|
DEPTH_DOMAIN, DEPTH_SERVER, GLOBAL_ERROR_FORWARD, m_Errors, m_Resources, m_Session, m_WhereAreYou |
Fields inherited from class org.apache.struts.action.Action |
---|
defaultLocale, servlet |
Constructor Summary | |
---|---|
BaseDeployAction()
|
Method Summary | |
---|---|
protected void |
deploy(String p_Filename)
Deploy a file in using the type of current deployment storing in WhereAreYou instance in session. |
protected void |
deployDataSource(String p_Filename)
Deploy a datasource file. |
protected void |
deployMailFactory(String domainName,
String p_Filename)
Deploy a mail factory. |
protected void |
deployModule(String filename,
String serverName)
|
protected int |
getCurrentJonasDeployment()
|
protected String |
getDomainDeploymentMethodName()
|
protected String |
getDomainUploadDeployMethodName()
|
protected String |
getForwardEdit()
Return the edit forward string. |
protected ArrayList |
getListDeployableFiles()
Return the list of deployable files in using the type of current deployment storing in WhereAreYou instance in session. |
protected ArrayList |
getListDeployedFiles()
Return the list of deployed files in using the type of current deployment storing in WhereAreYou instance in session. |
protected boolean |
isConfigurable()
|
protected boolean |
isDeployment(String p_Filename)
|
protected boolean |
isDomain()
|
protected boolean |
isModule()
|
protected void |
refreshJoramTree(HttpServletRequest pRequest,
String serverId)
Refresh the Joram tree after creating / removing a Joram destination. |
protected void |
refreshMBeansTree(HttpServletRequest p_Request)
Refresh the MBeans tree. |
protected void |
refreshServiceTree(int p_Deployment,
HttpServletRequest p_Request)
Refresh the service tree. |
protected void |
refreshTree(HttpServletRequest pRequest)
Refresh the tree. |
protected void |
refreshWebServiceTree(HttpServletRequest pRequest)
|
protected boolean |
removeFile(String fileName)
Remove a given file. |
protected boolean |
removeModule(String filename,
String serverName)
|
protected void |
runGC()
Run garbage collector. |
protected void |
setCurrentJonasDeployment(HttpServletRequest p_Request)
|
protected void |
undeploy(String p_Filename)
Undeploy a file in using the type of current deployment storing in WhereAreYou instance in session. |
protected void |
undeployDataSource(String p_Filename)
Undeploy a datasource file. |
protected void |
undeployMailFactory(String domainName,
String p_Filename)
Undeploy a mail factory. |
protected void |
undeployModule(String filename,
String serverName,
String domainName)
|
Methods inherited from class org.apache.struts.action.Action |
---|
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BaseDeployAction()
Method Detail |
---|
protected int getCurrentJonasDeployment() throws Exception
Exception
protected void setCurrentJonasDeployment(HttpServletRequest p_Request) throws Exception
Exception
protected String getForwardEdit()
protected boolean isDomain()
protected boolean isConfigurable()
protected boolean isModule()
protected String getDomainDeploymentMethodName()
protected String getDomainUploadDeployMethodName()
protected ArrayList getListDeployableFiles() throws Exception
Exception
protected ArrayList getListDeployedFiles() throws Exception
Exception
protected void undeploy(String p_Filename) throws Exception
p_Filename
- Name of file to undeploy
Exception
- could not undeployprotected boolean isDeployment(String p_Filename) throws Exception
Exception
protected void undeployDataSource(String p_Filename) throws Exception
p_Filename
- Name of file to undeploy
Exception
protected void undeployMailFactory(String domainName, String p_Filename) throws Exception
p_Filename
- Name of the factory (same as the props file name configuring it)
Exception
protected void deploy(String p_Filename) throws Exception
p_Filename
- Name of file to deploy
Exception
- could not deployprotected void deployDataSource(String p_Filename) throws Exception
p_Filename
- Name of file to deploy
Exception
protected void deployMailFactory(String domainName, String p_Filename) throws Exception
p_Filename
- Name of the mail factory whch is also the name of the file
Exception
protected void runGC() throws Exception
Exception
protected void refreshTree(HttpServletRequest pRequest) throws Exception
refreshTree
in class JonasBaseAction
pRequest
- The current HTTP Request
Exception
protected void refreshServiceTree(int p_Deployment, HttpServletRequest p_Request) throws Exception
p_Deployment
- The type of deploymentp_Request
- The current HTTP Request
Exception
protected void refreshWebServiceTree(HttpServletRequest pRequest) throws Exception
pRequest
- request
Exception
- could not refreshprotected void refreshMBeansTree(HttpServletRequest p_Request) throws Exception
Exception
protected void refreshJoramTree(HttpServletRequest pRequest, String serverId) throws Exception
pRequest
- initiator requestserverId
- Id of the Joram server which was updated
Exception
protected boolean removeFile(String fileName) throws Exception
fileName
- Name of file to remove
Exception
- if remove failsprotected void deployModule(String filename, String serverName) throws Exception
Exception
protected void undeployModule(String filename, String serverName, String domainName) throws Exception
Exception
protected boolean removeModule(String filename, String serverName) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |