org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction Class Reference

Inherits org.objectweb.jonas.webapp.jonasadmin.JonasBaseAction.

Inherited by org.objectweb.jonas.webapp.jonasadmin.deploy.ApplyDeployAction, org.objectweb.jonas.webapp.jonasadmin.deploy.ApplyDeployConfirmAction, and org.objectweb.jonas.webapp.jonasadmin.deploy.EditDeployAction.

Inheritance diagram for org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction:

Collaboration graph
[legend]
List of all members.

Protected Member Functions

String getForwardEdit ()
ArrayList getListDeployableFiles () throws Exception
ArrayList getListDeployedFiles () throws Exception
void undeploy (String p_Filename) throws Exception
void undeployDataSource (String p_Filename) throws Exception
void undeployMailFactory (String p_Filename) throws Exception
void deploy (String p_Filename) throws Exception
void deployDataSource (String p_Filename) throws Exception
void deployMailFactory (String p_Filename) throws Exception
void runGC () throws Exception
void refreshTree (HttpServletRequest p_Request) throws Exception
void refreshServiceTree (int p_Deployment, HttpServletRequest p_Request) throws Exception
void refreshMBeansTree () throws Exception
void refreshJoramTree () throws Exception

Detailed Description

Author:
Michel-Ange ANTON

Definition at line 49 of file BaseDeployAction.java.


Member Function Documentation

void org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction.deploy String  p_Filename  )  throws Exception [protected]
 

Deploy a file in using the type of current deployment storing in WhereAreYou instance in session.

Parameters:
p_Filename Name of file to deploy
Exceptions:
Exception 

Definition at line 284 of file BaseDeployAction.java.

References org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction.deployDataSource(), org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction.deployMailFactory(), org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_DATASOURCE, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_EAR, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_JAR, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_MAIL, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_RAR, and org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_WAR.

Here is the call graph for this function:

void org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction.deployDataSource String  p_Filename  )  throws Exception [protected]
 

Deploy a datasource file.

Parameters:
p_Filename Name of file to deploy
Exceptions:
Exception 

Definition at line 323 of file BaseDeployAction.java.

Referenced by org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction.deploy().

void org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction.deployMailFactory String  p_Filename  )  throws Exception [protected]
 

Deploy a mail factory.

Parameters:
p_Filename Name of the mail factory whch is also the name of the file
Exceptions:
Exception 

Definition at line 357 of file BaseDeployAction.java.

Referenced by org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction.deploy().

String org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction.getForwardEdit  )  [protected]
 

Return the edit forward string.

Returns:
The edit forward string

Definition at line 97 of file BaseDeployAction.java.

References org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_DATASOURCE, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_EAR, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_JAR, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_MAIL, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_RAR, and org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_WAR.

ArrayList org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction.getListDeployableFiles  )  throws Exception [protected]
 

Return the list of deployable files in using the type of current deployment storing in WhereAreYou instance in session.

Returns:
The list of deployable files
Exceptions:
Exception 

Definition at line 128 of file BaseDeployAction.java.

References org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_DATASOURCE, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_EAR, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_JAR, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_MAIL, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_RAR, and org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_WAR.

ArrayList org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction.getListDeployedFiles  )  throws Exception [protected]
 

Return the list of deployed files in using the type of current deployment storing in WhereAreYou instance in session.

Returns:
The list of deployed files
Exceptions:
Exception 

Definition at line 161 of file BaseDeployAction.java.

References org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_DATASOURCE, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_EAR, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_JAR, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_MAIL, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_RAR, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_WAR, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.getCurrentDomainName(), and org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.getCurrentJonasServerName().

Here is the call graph for this function:

void org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction.refreshJoramTree  )  throws Exception [protected]
 

Refresh the Joram tree.

Exceptions:
Exception 

Definition at line 553 of file BaseDeployAction.java.

References org.objectweb.jonas.webapp.taglib.TreeControl.disableAutoRefresh(), org.objectweb.jonas.webapp.taglib.TreeControl.enableAutoRefresh(), org.objectweb.jonas.webapp.taglib.TreeControl.findNode(), org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.getCurrentDomainName(), org.objectweb.jonas.webapp.jonasadmin.JonasTreeBuilder.getJoramPlatform(), org.objectweb.jonas.webapp.taglib.TreeControlNode.getParent(), org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.getTreeControl(), org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.NODE_SEPARATOR, and org.objectweb.jonas.webapp.taglib.TreeControlNode.remove().

Referenced by org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction.refreshTree().

Here is the call graph for this function:

void org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction.refreshMBeansTree  )  throws Exception [protected]
 

Refresh the MBeans tree.

Exceptions:
Exception 

Definition at line 530 of file BaseDeployAction.java.

References org.objectweb.jonas.webapp.taglib.TreeControl.disableAutoRefresh(), org.objectweb.jonas.webapp.taglib.TreeControl.enableAutoRefresh(), org.objectweb.jonas.webapp.taglib.TreeControl.findNode(), org.objectweb.jonas.webapp.jonasadmin.MBeanTreeBuilder.getMBeans(), org.objectweb.jonas.webapp.taglib.TreeControl.getRoot(), org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.getTreeControl(), and org.objectweb.jonas.webapp.taglib.TreeControlNode.remove().

Referenced by org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction.refreshTree().

Here is the call graph for this function:

void org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction.refreshServiceTree int  p_Deployment,
HttpServletRequest  p_Request
throws Exception [protected]
 

Refresh the service tree.

Parameters:
p_Deployment The type of deployment
p_Request The current HTTP Request
Exceptions:
Exception 

Definition at line 440 of file BaseDeployAction.java.

References org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_DATASOURCE, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_EAR, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_JAR, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_JMS, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_MAIL, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_RAR, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_WAR, org.objectweb.jonas.webapp.taglib.TreeControl.disableAutoRefresh(), org.objectweb.jonas.webapp.taglib.TreeControl.enableAutoRefresh(), org.objectweb.jonas.webapp.taglib.TreeControlNode.findChildren(), org.objectweb.jonas.webapp.taglib.TreeControl.findNode(), org.objectweb.jonas.webapp.jonasadmin.JonasTreeBuilder.getAllMimePartDSMailFactories(), org.objectweb.jonas.webapp.jonasadmin.JonasTreeBuilder.getAllSessionMailFactories(), org.objectweb.jonas.webapp.jonasadmin.JonasTreeBuilder.getAppContainers(), org.objectweb.jonas.webapp.jonasadmin.JonasTreeBuilder.getContainers(), org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.getCurrentDomainName(), org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.getCurrentJonasServerName(), org.objectweb.jonas.webapp.jonasadmin.JonasTreeBuilder.getDatasources(), org.objectweb.jonas.webapp.jonasadmin.JonasTreeBuilder.getJmsResources(), org.objectweb.jonas.webapp.jonasadmin.JonasTreeBuilder.getResourcesAdapters(), org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.getTreeControl(), org.objectweb.jonas.webapp.jonasadmin.JonasTreeBuilder.getWebContainers(), org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.NODE_SEPARATOR, and org.objectweb.jonas.webapp.taglib.TreeControlNode.remove().

Referenced by org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction.refreshTree().

Here is the call graph for this function:

void org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction.refreshTree HttpServletRequest  p_Request  )  throws Exception [protected]
 

Refresh the tree.

Parameters:
p_Request The current HTTP Request
Exceptions:
Exception 

Definition at line 395 of file BaseDeployAction.java.

References org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_DATASOURCE, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_EAR, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_JAR, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_MAIL, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_RAR, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_WAR, org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction.refreshJoramTree(), org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction.refreshMBeansTree(), org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction.refreshServiceTree(), and org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.setTreeToRefresh().

Here is the call graph for this function:

void org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction.runGC  )  throws Exception [protected]
 

Run garbage collector.

Exceptions:
Exception 

Definition at line 382 of file BaseDeployAction.java.

References org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.getCurrentDomainName(), and org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.getCurrentJonasServerName().

Here is the call graph for this function:

void org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction.undeploy String  p_Filename  )  throws Exception [protected]
 

Undeploy a file in using the type of current deployment storing in WhereAreYou instance in session.

Parameters:
p_Filename Name of file to undeploy
Exceptions:
Exception 

Definition at line 196 of file BaseDeployAction.java.

References org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_DATASOURCE, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_EAR, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_JAR, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_MAIL, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_RAR, org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.DEPLOYMENT_WAR, org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction.undeployDataSource(), and org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction.undeployMailFactory().

Here is the call graph for this function:

void org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction.undeployDataSource String  p_Filename  )  throws Exception [protected]
 

Undeploy a datasource file.

Parameters:
p_Filename Name of file to undeploy
Exceptions:
Exception 

Definition at line 235 of file BaseDeployAction.java.

References org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.getCurrentDomainName(), and org.objectweb.jonas.webapp.jonasadmin.WhereAreYou.getCurrentJonasServerName().

Referenced by org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction.undeploy().

Here is the call graph for this function:

void org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction.undeployMailFactory String  p_Filename  )  throws Exception [protected]
 

Undeploy a mail factory.

Parameters:
p_Filename Name of the factory (same as the props file name configuring it)
Exceptions:
Exception 

Definition at line 260 of file BaseDeployAction.java.

Referenced by org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction.undeploy().


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:08:58 2005 for JOnAS by  doxygen 1.3.9.1