Java Doc for BaseDeployAction.java in  » J2EE » JOnAS-4.8.6 » org » objectweb » jonas » webapp » jonasadmin » deploy » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » JOnAS 4.8.6 » org.objectweb.jonas.webapp.jonasadmin.deploy 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.objectweb.jonas.webapp.jonasadmin.JonasBaseAction
   org.objectweb.jonas.webapp.jonasadmin.deploy.BaseDeployAction

All known Subclasses:   org.objectweb.jonas.webapp.jonasadmin.deploy.ApplyDomainDeployConfirmAction,  org.objectweb.jonas.webapp.jonasadmin.security.BaseSecurityAction,  org.objectweb.jonas.webapp.jonasadmin.deploy.EditRemoveAction,  org.objectweb.jonas.webapp.jonasadmin.joramplatform.RemoveConfirmUsersAction,  org.objectweb.jonas.webapp.jonasadmin.deploy.ApplyRemoveConfirmAction,  org.objectweb.jonas.webapp.jonasadmin.joramplatform.ApplyUserAction,  org.objectweb.jonas.webapp.jonasadmin.resourceadapter.CreateResourceAdapterAction,  org.objectweb.jonas.webapp.jonasadmin.logging.BaseLoggerAction,  org.objectweb.jonas.webapp.jonasadmin.xml.ArchiveUtilAction,  org.objectweb.jonas.webapp.jonasadmin.deploy.ApplyRemoveAction,  org.objectweb.jonas.webapp.jonasadmin.joramplatform.EditJoramBaseAction,  org.objectweb.jonas.webapp.jonasadmin.resource.ApplyDatasourcePropertiesAction,  org.objectweb.jonas.webapp.jonasadmin.resource.ApplyDestinationAction,  org.objectweb.jonas.webapp.jonasadmin.deploy.ApplyUploadAction,  org.objectweb.jonas.webapp.jonasadmin.xml.ArchiveConfigAdvancedAction,  org.objectweb.jonas.webapp.jonasadmin.xml.ArchiveConfigAction,  org.objectweb.jonas.webapp.jonasadmin.joramplatform.ApplyDestinationAction,  org.objectweb.jonas.webapp.jonasadmin.joramplatform.ApplyLocalDestinationAction,  org.objectweb.jonas.webapp.jonasadmin.service.container.BaseWebAppAction,  org.objectweb.jonas.webapp.jonasadmin.resourceadapter.ApplyTemplateCreateResourceAdapterAction,  org.objectweb.jonas.webapp.jonasadmin.deploy.ApplyDeployAction,  org.objectweb.jonas.webapp.jonasadmin.deploy.ApplyDomainDeployAction,  org.objectweb.jonas.webapp.jonasadmin.catalina.CatalinaBaseAction,  org.objectweb.jonas.webapp.jonasadmin.resourceadapter.ApplyCreateResourceAdapterAction,  org.objectweb.jonas.webapp.jonasadmin.deploy.EditDomainDeployAction,  org.objectweb.jonas.webapp.jonasadmin.deploy.EditDeployAction,  org.objectweb.jonas.webapp.jonasadmin.joramplatform.RemoveConfirmDestinationsAction,  org.objectweb.jonas.webapp.jonasadmin.deploy.ApplyDeployConfirmAction,  org.objectweb.jonas.webapp.jonasadmin.xml.ArchiveConfigSelectAction,  org.objectweb.jonas.webapp.jonasadmin.deploy.EditUploadAction,  org.objectweb.jonas.webapp.jonasadmin.resource.EditMailFactoryPropertiesAction,
BaseDeployAction
abstract public class BaseDeployAction extends JonasBaseAction (Code)

author:
   Michel-Ange ANTON




Method Summary
protected  voiddeploy(String p_Filename)
     Deploy a file in using the type of current deployment storing in WhereAreYou instance in session.
protected  voiddeployDataSource(String p_Filename)
     Deploy a datasource file.
protected  voiddeployMailFactory(String p_Filename)
     Deploy a mail factory.
protected  intgetCurrentJonasDeployment()
    
protected  StringgetDomainDeploymentMethodName()
    
protected  StringgetDomainUploadDeployMethodName()
    
protected  StringgetForwardEdit()
     Return the edit forward string.
protected  ArrayListgetListDeployableFiles()
     Return the list of deployable files in using the type of current deployment storing in WhereAreYou instance in session.
protected  ArrayListgetListDeployedFiles()
     Return the list of deployed files in using the type of current deployment storing in WhereAreYou instance in session.
protected  booleanisConfigurable()
    
protected  booleanisDomain()
    
protected  booleanisModule()
    
protected  voidrefreshJoramTree(HttpServletRequest p_Request, String serverId)
    
protected  voidrefreshMBeansTree(HttpServletRequest p_Request)
     Refresh the MBeans tree.
protected  voidrefreshServiceTree(int p_Deployment, HttpServletRequest p_Request)
     Refresh the service tree.
protected  voidrefreshTree(HttpServletRequest p_Request)
     Refresh the tree.
protected  voidrefreshWebServiceTree(HttpServletRequest p_Request)
    
protected  booleanremoveFile(String fileName)
    
protected  voidrunGC()
     Run garbage collector.
protected  voidsetCurrentJonasDeployment(HttpServletRequest p_Request)
    
protected  voidundeploy(String p_Filename)
     Undeploy a file in using the type of current deployment storing in WhereAreYou instance in session.
protected  voidundeployDataSource(String p_Filename)
     Undeploy a datasource file.
protected  voidundeployMailFactory(String p_Filename)
     Undeploy a mail factory.



Method Detail
deploy
protected void deploy(String p_Filename) throws Exception(Code)
Deploy a file in using the type of current deployment storing in WhereAreYou instance in session.
Parameters:
  p_Filename - Name of file to deploy
throws:
  Exception -



deployDataSource
protected void deployDataSource(String p_Filename) throws Exception(Code)
Deploy a datasource file.
Parameters:
  p_Filename - Name of file to deploy
throws:
  Exception -



deployMailFactory
protected void deployMailFactory(String p_Filename) throws Exception(Code)
Deploy a mail factory.
Parameters:
  p_Filename - Name of the mail factory whch is also the name of the file
throws:
  Exception -



getCurrentJonasDeployment
protected int getCurrentJonasDeployment() throws Exception(Code)



getDomainDeploymentMethodName
protected String getDomainDeploymentMethodName()(Code)



getDomainUploadDeployMethodName
protected String getDomainUploadDeployMethodName()(Code)



getForwardEdit
protected String getForwardEdit()(Code)
Return the edit forward string. The edit forward string



getListDeployableFiles
protected ArrayList getListDeployableFiles() throws Exception(Code)
Return the list of deployable files in using the type of current deployment storing in WhereAreYou instance in session. The list of deployable files
throws:
  Exception -



getListDeployedFiles
protected ArrayList getListDeployedFiles() throws Exception(Code)
Return the list of deployed files in using the type of current deployment storing in WhereAreYou instance in session. The list of deployed files
throws:
  Exception -



isConfigurable
protected boolean isConfigurable()(Code)



isDomain
protected boolean isDomain()(Code)



isModule
protected boolean isModule()(Code)



refreshJoramTree
protected void refreshJoramTree(HttpServletRequest p_Request, String serverId) throws Exception(Code)
Refresh the Joram tree after creating / removing a Joram destination or after deploying / undeploying the Joram RAR
Parameters:
  serverId - Id of the Joram server which was updated
throws:
  Exception -



refreshMBeansTree
protected void refreshMBeansTree(HttpServletRequest p_Request) throws Exception(Code)
Refresh the MBeans tree.
throws:
  Exception -



refreshServiceTree
protected void refreshServiceTree(int p_Deployment, HttpServletRequest p_Request) throws Exception(Code)
Refresh the service tree.
Parameters:
  p_Deployment - The type of deployment
Parameters:
  p_Request - The current HTTP Request
throws:
  Exception -



refreshTree
protected void refreshTree(HttpServletRequest p_Request) throws Exception(Code)
Refresh the tree.
Parameters:
  p_Request - The current HTTP Request
throws:
  Exception -



refreshWebServiceTree
protected void refreshWebServiceTree(HttpServletRequest p_Request) throws Exception(Code)



removeFile
protected boolean removeFile(String fileName) throws Exception(Code)
Remove a given file
Parameters:
  fileName - Name of file to remove true if file has been removed
throws:
  Exception - if remove fails



runGC
protected void runGC() throws Exception(Code)
Run garbage collector.
throws:
  Exception -



setCurrentJonasDeployment
protected void setCurrentJonasDeployment(HttpServletRequest p_Request) throws Exception(Code)



undeploy
protected void undeploy(String p_Filename) throws Exception(Code)
Undeploy a file in using the type of current deployment storing in WhereAreYou instance in session.
Parameters:
  p_Filename - Name of file to undeploy
throws:
  Exception -



undeployDataSource
protected void undeployDataSource(String p_Filename) throws Exception(Code)
Undeploy a datasource file.
Parameters:
  p_Filename - Name of file to undeploy
throws:
  Exception -



undeployMailFactory
protected void undeployMailFactory(String p_Filename) throws Exception(Code)
Undeploy a mail factory.
Parameters:
  p_Filename - Name of the factory (same as the props file name configuring it)
throws:
  Exception -



Fields inherited from org.objectweb.jonas.webapp.jonasadmin.JonasBaseAction
final public static int DEPTH_DOMAIN(Code)(Java Doc)
final public static int DEPTH_SERVER(Code)(Java Doc)
protected ActionMessages m_Errors(Code)(Java Doc)
protected MessageResources m_Resources(Code)(Java Doc)
protected HttpSession m_Session(Code)(Java Doc)
protected WhereAreYou m_WhereAreYou(Code)(Java Doc)

Methods inherited from org.objectweb.jonas.webapp.jonasadmin.JonasBaseAction
protected void addGlobalError(Throwable p_Throwable)(Code)(Java Doc)
public ActionForward execute(ActionMapping p_Mapping, ActionForm p_Form, HttpServletRequest p_Request, HttpServletResponse p_Response) throws IOException, ServletException(Code)(Java Doc)
abstract public ActionForward executeAction(ActionMapping p_Mapping, ActionForm p_Form, HttpServletRequest p_Request, HttpServletResponse p_Response) throws IOException, ServletException(Code)(Java Doc)
protected boolean getBooleanAttribute(ObjectName p_ObjectName, String ps_AttrName)(Code)(Java Doc)
protected boolean getBooleanAttribute(Properties p_Props, String ps_AttrName)(Code)(Java Doc)
protected boolean getBooleanAttribute(Properties p_Props, String ps_AttrName, boolean p_Default)(Code)(Java Doc)
protected int getIntegerAttribute(ObjectName p_ObjectName, String ps_AttrName)(Code)(Java Doc)
protected int getIntegerAttribute(Properties p_Props, String ps_AttrName)(Code)(Java Doc)
protected int getIntegerAttribute(Properties p_Props, String ps_AttrName, int p_Default)(Code)(Java Doc)
protected String getJonasBase()(Code)(Java Doc)
protected List getListAttribute(ObjectName p_ObjectName, String ps_AttrName)(Code)(Java Doc)
protected long getLongAttribute(ObjectName p_ObjectName, String ps_AttrName)(Code)(Java Doc)
protected long getLongAttribute(Properties p_Props, String ps_AttrName)(Code)(Java Doc)
protected long getLongAttribute(Properties p_Props, String ps_AttrName, long p_Default)(Code)(Java Doc)
protected Properties getPropsFromString(String ps_Props)(Code)(Java Doc)
protected long getShortAttribute(ObjectName p_ObjectName, String ps_AttrName)(Code)(Java Doc)
protected String[] getStringArrayAttribute(ObjectName p_ObjectName, String ps_AttrName)(Code)(Java Doc)
protected String getStringAttribute(ObjectName p_ObjectName, String ps_AttrName)(Code)(Java Doc)
protected String getStringAttribute(Properties p_Props, String ps_AttrName)(Code)(Java Doc)
protected String getStringAttribute(Properties p_Props, String ps_AttrName, String p_Default)(Code)(Java Doc)
protected String getTreeBranchName(int p_Width)(Code)(Java Doc)
protected void initialize(HttpServletRequest p_Request)(Code)(Java Doc)
protected void refreshDomainDeployTree(HttpServletRequest p_Request) throws Exception(Code)(Java Doc)
protected void refreshDomainMonitoringTree(HttpServletRequest p_Request) throws Exception(Code)(Java Doc)
protected void refreshServerTree(HttpServletRequest p_Request) throws Exception(Code)(Java Doc)
protected static String removeChar(String string, char c)(Code)(Java Doc)
protected void setBooleanAttribute(ObjectName p_ObjectName, String ps_AttrName, boolean p_Value)(Code)(Java Doc)
protected void setBooleanAttribute(Properties p_Props, String ps_AttrName, boolean p_Value)(Code)(Java Doc)
protected void setIntegerAttribute(ObjectName p_ObjectName, String ps_AttrName, int p_Value)(Code)(Java Doc)
protected void setIntegerAttribute(ObjectName p_ObjectName, String ps_AttrName, String p_Value)(Code)(Java Doc)
protected void setIntegerAttribute(Properties p_Props, String ps_AttrName, int p_Value)(Code)(Java Doc)
protected void setLongAttribute(ObjectName p_ObjectName, String ps_AttrName, long p_Value)(Code)(Java Doc)
protected void setLongAttribute(Properties p_Props, String ps_AttrName, long p_Value)(Code)(Java Doc)
protected void setShortAttribute(ObjectName p_ObjectName, String ps_AttrName, long p_Value)(Code)(Java Doc)
protected void setStringAttribute(ObjectName p_ObjectName, String ps_AttrName, String p_Value)(Code)(Java Doc)
protected void setStringAttribute(Properties p_Props, String ps_AttrName, String p_Value)(Code)(Java Doc)
protected void setStringAttribute(Properties p_Props, String ps_AttrName, String p_Value, String p_Default)(Code)(Java Doc)
protected String toStringBooleanAttribute(ObjectName p_ObjectName, String ps_AttrName)(Code)(Java Doc)
protected String toStringIntegerAttribute(ObjectName p_ObjectName, String ps_AttrName)(Code)(Java Doc)
protected String toStringLongAttribute(ObjectName p_ObjectName, String ps_AttrName)(Code)(Java Doc)
protected String toStringShortAttribute(ObjectName p_ObjectName, String ps_AttrName)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.