Java Doc for InstallationHandlers.java in  » ESB » open-esb » com » sun » jbi » jsf » handlers » 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 » ESB » open esb » com.sun.jbi.jsf.handlers 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.jbi.jsf.handlers.InstallationHandlers

InstallationHandlers
final public class InstallationHandlers (Code)
Provides jsftemplating handlers for installation, deployment, and table actions on selected rows, such as undeployment and uninstallation
author:
   Sun Microsystems Inc.


Field Summary
final public static  StringKEY_ARCHIVE_NAME
    
final public static  StringKEY_NAME
    
final public static  StringKEY_PATH
    


Method Summary
public static  voidaddListToOptions(HandlerContext handlerCtx)
    
public static  voiddeleteUploadedArchiveFromTmpDir(HandlerContext handlerContext)
    
public static  voidinitializeTargetShowList(HandlerContext handlerCtx)
    

Will set the filter type in the ListBean.

public static  voidjbiCreateSingleTargetList(HandlerContext handlerCtx)
    
public static  voidjbiDeleteSelectedRows(HandlerContext handlerCtx)
    
public static  voidjbiGetSelectedTargetsFromAvailableTable(HandlerContext handlerCtx)
    
public static  voidjbiGetSelectedTargetsFromInstalledTable(HandlerContext handlerCtx)
    
public static  voidjbiGetTargetsLists(HandlerContext handlerCtx)
    
public static  voidjbiInstallValidatedArchive(HandlerContext handlerCtx)
    
public static  voidjbiManageTargets(HandlerContext handlerCtx)
    
public static  voidjbiRemoveSelectedSingleTargetRows(HandlerContext handlerCtx)
    
public static  voidjbiSetInstallConfigPS(HandlerContext handlerCtx)
    
public static  voidjbiUpdateValidatedArchive(HandlerContext handlerCtx)
    

Field Detail
KEY_ARCHIVE_NAME
final public static String KEY_ARCHIVE_NAME(Code)
Description of the Field



KEY_NAME
final public static String KEY_NAME(Code)
Description of the Field



KEY_PATH
final public static String KEY_PATH(Code)
Description of the Field





Method Detail
addListToOptions
public static void addListToOptions(HandlerContext handlerCtx)(Code)

This handler returns a list of Standalone server in sorted order

Input value: "list1" -- Type: java.util.List list one

Input value: "list2" -- Type: java.util.List list two

Output value: "optionList" -- Type: java.util.List/


Parameters:
  handlerCtx - The feature to be added to the ListToOptionsattribute



deleteUploadedArchiveFromTmpDir
public static void deleteUploadedArchiveFromTmpDir(HandlerContext handlerContext)(Code)

Deletes the uploaded/installed archives from temporary location on disk

Input value: "archiveStatus" -- Type: Boolean

Input value: "archivePath" -- Type: String


Parameters:
  handlerContext - Description of Parameter



initializeTargetShowList
public static void initializeTargetShowList(HandlerContext handlerCtx)(Code)

Will set the filter type in the ListBean.

Input value: "operation" -- Type: java.lang.String Valid operations: The filter type
Parameters:
  handlerCtx - HandlerContext provides inputs andoutputs.




jbiCreateSingleTargetList
public static void jbiCreateSingleTargetList(HandlerContext handlerCtx)(Code)

return a list of targets built from a single target

Input value: "singleTarget" -- Type: String

Output value: "installTargetsList" -- Type: java.util.List /


Parameters:
  handlerCtx - HandlerContext provides inputs andoutputs.



jbiDeleteSelectedRows
public static void jbiDeleteSelectedRows(HandlerContext handlerCtx)(Code)

Delegates JBI deletion requests for each selected row; accumulates failures into alert

Input value: "tableRowGroup" -- Type: com.sun.webui.jsf.component.TableRowGroup

Input value: "tableType" -- Type: java.lang.String

Output value: "isAlertNeeded" -- Type: java.lang.Boolean

Output value: "alertSummary" -- Type: String/

Output value: "alertDetails" -- Type: String/

Valid types: 'deployments,' 'bindingsEngines,' or 'libraries.'
Parameters:
  handlerCtx - HandlerContext provides inputs andoutputs.



jbiGetSelectedTargetsFromAvailableTable
public static void jbiGetSelectedTargetsFromAvailableTable(HandlerContext handlerCtx)(Code)

return a list of selected targets name from the avialable table

Input value: "availableTargetTableRowGroup" -- Type: com.sun.webui.jsf.component.TableRowGroup

Output value: "selectedAvailableTargetsList" -- Type: String /


Parameters:
  handlerCtx - HandlerContext provides inputs andoutputs.



jbiGetSelectedTargetsFromInstalledTable
public static void jbiGetSelectedTargetsFromInstalledTable(HandlerContext handlerCtx)(Code)

return a list of selected targets name from the installed table

Input value: "availableTargetTableRowGroup" -- Type: com.sun.webui.jsf.component.TableRowGroup

Output value: "selectedInstalledTargetsList" -- Type: String /


Parameters:
  handlerCtx - HandlerContext provides inputs andoutputs.



jbiGetTargetsLists
public static void jbiGetTargetsLists(HandlerContext handlerCtx)(Code)
Description of the Method
Parameters:
  handlerCtx - Description of Parameter



jbiInstallValidatedArchive
public static void jbiInstallValidatedArchive(HandlerContext handlerCtx)(Code)

Delegates installation request for table type

Input value: "archivePath" -- Type: java.lang.String path to validated archive

Input value: "jbiName" -- Type: java.lang.String JBI name from validated archive

Input value: "jbiType" -- Type: java.lang.String JBI type from validated archive

Input value: "isToBeVerifiedOnDeploy" -- Type: java.lang.Boolean verify if true

Input value: "isEnabledAfterInstallOrDeploy" -- Type: java.lang.Boolean start if true

Input value: "redirectOnFailure" -- Type: java.lang.String what to show if it fails

Input value: "redirectOnSuccess" -- Type: java.lang.String what to show if it works

Input value: "installList" -- Type: java.util.List Where to install (if cluster-profile)

Output value: "isAlertNeeded" -- Type: java.lang.Boolean show alert or not

Output value: "alertSummary" -- Type: Stringsummary, if failure

Output value: "alertDetails" -- Type: Stringdetails, if failure

Output value: "redirectTo" -- Type: String Where to go next, based on success/failure


Parameters:
  handlerCtx - HandlerContext provides inputs andoutputs.



jbiManageTargets
public static void jbiManageTargets(HandlerContext handlerCtx)(Code)

will installled and uninstall the current component based on the targets in the input lists

Valid operations: The filter type

Input value: "installList" -- Type: java.util.List list of target to install to

Input value: "uninstallList" -- Type: java.util.List list of target to uninstall from

Output value: "isAlertNeeded" -- Type: java.lang.Boolean

Output value: "alertSummary" -- Type: String/

Output value: "alertDetails" -- Type: String/

Valid types: 'deployments,' 'bindingsEngines,' or 'libraries.'
Parameters:
  handlerCtx - HandlerContext provides inputs andoutputs.



jbiRemoveSelectedSingleTargetRows
public static void jbiRemoveSelectedSingleTargetRows(HandlerContext handlerCtx)(Code)

Delegates JBI removal requests for each selected row; accumulates failures into alert

Input value: "tableRowGroup" -- Type: com.sun.webui.jsf.component.TableRowGroup

Input value: "targetName" -- Type: java.lang.String

Output value: "isAlertNeeded" -- Type: java.lang.Boolean

Output value: "alertSummary" -- Type: String/

Output value: "alertDetails" -- Type: String/


Parameters:
  handlerCtx - HandlerContext provides inputs andoutputs.



jbiSetInstallConfigPS
public static void jbiSetInstallConfigPS(HandlerContext handlerCtx)(Code)

Delegates update request for table type

Input value: "compName" -- Type: java.lang.String JBI name from validated archive

Input value: "compType" -- Type: java.lang.String JBI type from validated archive
Parameters:
  handlerCtx - HandlerContext provides inputs andoutputs.




jbiUpdateValidatedArchive
public static void jbiUpdateValidatedArchive(HandlerContext handlerCtx)(Code)

Delegates update request for table type

Input value: "archivePath" -- Type: java.lang.String path to validated archive

Input value: "jbiName" -- Type: java.lang.String JBI name from validated archive

Input value: "jbiType" -- Type: java.lang.String JBI type from validated archive

Input value: "isEnabledAfterInstallOrDeploy" -- Type: java.lang.Boolean start if true

Input value: "redirectOnFailure" -- Type: java.lang.String what to show if it fails

Input value: "redirectOnSuccess" -- Type: java.lang.String what to show if it works

Input value: "installList" -- Type: java.util.List Where to install (if cluster-profile)

Output value: "isAlertNeeded" -- Type: java.lang.Boolean show alert or not

Output value: "alertSummary" -- Type: Stringsummary, if failure

Output value: "alertDetails" -- Type: Stringdetails, if failure

Output value: "redirectTo" -- Type: String Where to go next, based on success/failure


Parameters:
  handlerCtx - HandlerContext provides inputs andoutputs.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.