|
|||||||||
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.objectweb.jonas.webapp.jonasadmin.JonasBaseAction org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction
public abstract class BaseDeployAction
Field Summary |
---|
Fields inherited from class org.objectweb.jonas.webapp.jonasadmin.JonasBaseAction |
---|
DEPTH_DOMAIN, DEPTH_SERVER, 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(java.lang.String p_Filename)
Deploy a file in using the type of current deployment storing in WhereAreYou instance in session. |
protected void |
deployDataSource(java.lang.String p_Filename)
Deploy a datasource file. |
protected void |
deployMailFactory(java.lang.String p_Filename)
Deploy a mail factory. |
protected int |
getCurrentJonasDeployment()
|
protected java.lang.String |
getDomainDeploymentMethodName()
|
protected java.lang.String |
getDomainUploadDeployMethodName()
|
protected java.lang.String |
getForwardEdit()
Return the edit forward string. |
protected java.util.ArrayList |
getListDeployableFiles()
Return the list of deployable files in using the type of current deployment storing in WhereAreYou instance in session. |
protected java.util.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 |
isDomain()
|
protected boolean |
isModule()
|
protected void |
refreshJoramTree(javax.servlet.http.HttpServletRequest p_Request,
java.lang.String serverId)
Refresh the Joram tree after creating / removing a Joram destination or after deploying / undeploying the Joram RAR |
protected void |
refreshMBeansTree(javax.servlet.http.HttpServletRequest p_Request)
Refresh the MBeans tree. |
protected void |
refreshServiceTree(int p_Deployment,
javax.servlet.http.HttpServletRequest p_Request)
Refresh the service tree. |
protected void |
refreshTree(javax.servlet.http.HttpServletRequest p_Request)
Refresh the tree. |
protected void |
refreshWebServiceTree(javax.servlet.http.HttpServletRequest p_Request)
|
protected boolean |
removeFile(java.lang.String fileName)
Remove a given file |
protected void |
runGC()
Run garbage collector. |
protected void |
setCurrentJonasDeployment(javax.servlet.http.HttpServletRequest p_Request)
|
protected void |
undeploy(java.lang.String p_Filename)
Undeploy a file in using the type of current deployment storing in WhereAreYou instance in session. |
protected void |
undeployDataSource(java.lang.String p_Filename)
Undeploy a datasource file. |
protected void |
undeployMailFactory(java.lang.String p_Filename)
Undeploy a mail factory. |
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 java.lang.Exception
java.lang.Exception
protected void setCurrentJonasDeployment(javax.servlet.http.HttpServletRequest p_Request) throws java.lang.Exception
java.lang.Exception
protected java.lang.String getForwardEdit()
protected boolean isDomain()
protected boolean isConfigurable()
protected boolean isModule()
protected java.lang.String getDomainDeploymentMethodName()
protected java.lang.String getDomainUploadDeployMethodName()
protected java.util.ArrayList getListDeployableFiles() throws java.lang.Exception
java.lang.Exception
protected java.util.ArrayList getListDeployedFiles() throws java.lang.Exception
java.lang.Exception
protected void undeploy(java.lang.String p_Filename) throws java.lang.Exception
p_Filename
- Name of file to undeploy
java.lang.Exception
protected void undeployDataSource(java.lang.String p_Filename) throws java.lang.Exception
p_Filename
- Name of file to undeploy
java.lang.Exception
protected void undeployMailFactory(java.lang.String p_Filename) throws java.lang.Exception
p_Filename
- Name of the factory (same as the props file name configuring it)
java.lang.Exception
protected void deploy(java.lang.String p_Filename) throws java.lang.Exception
p_Filename
- Name of file to deploy
java.lang.Exception
protected void deployDataSource(java.lang.String p_Filename) throws java.lang.Exception
p_Filename
- Name of file to deploy
java.lang.Exception
protected void deployMailFactory(java.lang.String p_Filename) throws java.lang.Exception
p_Filename
- Name of the mail factory whch is also the name of the file
java.lang.Exception
protected void runGC() throws java.lang.Exception
java.lang.Exception
protected void refreshTree(javax.servlet.http.HttpServletRequest p_Request) throws java.lang.Exception
p_Request
- The current HTTP Request
java.lang.Exception
protected void refreshServiceTree(int p_Deployment, javax.servlet.http.HttpServletRequest p_Request) throws java.lang.Exception
p_Deployment
- The type of deploymentp_Request
- The current HTTP Request
java.lang.Exception
protected void refreshWebServiceTree(javax.servlet.http.HttpServletRequest p_Request) throws java.lang.Exception
java.lang.Exception
protected void refreshMBeansTree(javax.servlet.http.HttpServletRequest p_Request) throws java.lang.Exception
java.lang.Exception
protected void refreshJoramTree(javax.servlet.http.HttpServletRequest p_Request, java.lang.String serverId) throws java.lang.Exception
serverId
- Id of the Joram server which was updated
java.lang.Exception
protected boolean removeFile(java.lang.String fileName) throws java.lang.Exception
fileName
- Name of file to remove
java.lang.Exception
- if remove fails
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |