Java Doc for ComponentConfigurationHandlers.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.ComponentConfigurationHandlers

ComponentConfigurationHandlers
final public class ComponentConfigurationHandlers (Code)
Provides jsftemplating handlers for Component Configuration setting
author:
   Sun Microsystems Inc.




Method Summary
public static  voidjbiAddCompAppVar(HandlerContext handlerCtx)
    

Validates and adds a new component Application Variable name and type on the specified instance for the specified component.

public static  voidjbiDeleteCompAppVarsTableRows(HandlerContext handlerCtx)
    
public static  voidjbiDeleteSelectedCompAppConfigRows(HandlerContext handlerCtx)
    

Delegates JBI deletion requests for each selected component Application Configuration row.

public static  voidjbiGetCompVarsTableList(HandlerContext handlerCtx)
    
public static  voidjbiOptionToString(HandlerContext handlerCtx)
    
public static  voidjbiSaveCompAppConfigChanges(HandlerContext handlerCtx)
    

For a given component name and an application configuration name, returns the properties.

public static  voidjbiSaveCompAppVarsChanges(HandlerContext handlerCtx)
    
public static  voidjbiSaveCompRuntimeConfig(HandlerContext handlerCtx)
    
public static  voidjbiSaveComponentConfiguration(HandlerContext handlerCtx)
    
public static  voidjbiSaveInstancesComponentConfiguration(HandlerContext handlerCtx)
    
public static  voidjbiSetAppConfig(HandlerContext handlerCtx)
    

For a given component name and an application configuration name, returns the properties.

public static  voidjbiSetCompAppConfigNamesData(HandlerContext handlerCtx)
    

For a given (started) component type and name and a given instance, updates the ShowBean with the list of application configuration names.

If the component has not targets, or the selected instance is not started, or the component is not started, or the component has not provided an application configuration MBean, returns an alert summary and details.

public static  voidjbiSetCompConfigData(HandlerContext handlerCtx)
    

For a given component and instance updates the CompConfigBean with a configuration property sheet of the requested configuration type (if any)

If the component has no targets, or the (possibly default) selected instance is not running, or the component is not started, or the component does not support the requested type of configuration, returns an alert summary and details.

public static  voidjbiSetNewAppConfig(HandlerContext handlerCtx)
    



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

Validates and adds a new component Application Variable name and type on the specified instance for the specified component.

Input value: "instance" -- Type: java.lang.String target instance

Input value: "component" -- Type: java.lang.String target component

Input value: "compAppVarName" -- Type: java.lang.String new app var name

Input value: "compAppVarType" -- Type: java.lang.String new app var type

Input value: "compAppVarValue" -- Type: java.lang.String new app var value

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

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.



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

This handler deletes the given RowKeys and named Application Variables

Input value: "instance" -- Type: java.lang.String target instance

Input value: "component" -- Type: java.lang.String target component

Input value: "tableRowGroup" -- Type: com.sun.webui.jsf.component.TableRowGroup table group to find rows

Input value: "rowKeys" -- Type: com.sun.data.provider.RowKey[].class selected row keys
Parameters:
  handlerCtx - Description of Parameter




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

Delegates JBI deletion requests for each selected component Application Configuration row.

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

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

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

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


Parameters:
  handlerCtx - HandlerContext provides inputs andoutputs.



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

Returns Component Variables data to populate table rows in a List of HashMaps, each HashMap containing the name, type, and value.

Input value: "compName" -- Type: java.lang.String the component name

Input value: "instanceName" -- Type: java.lang.String the instance name

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


Parameters:
  handlerCtx - Description of Parameter



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

extracts the value of an option to a returned string

Input value: "option" -- Type: com.sun.webui.jsf.model.Option

Output value: "string" -- Type: java.lang.String


Parameters:
  handlerCtx - HandlerContext provides inputs andoutputs.



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

For a given component name and an application configuration name, returns the properties.

Input value: "action" -- Type: java.lang.String 'create' or 'edit' for new or exisitng app configs

Input value: "appConfigName" -- Type: java.lang.String the application configuration name

Input value: "compName" -- Type: java.lang.String the component name

Input value: "instanceName" -- Type: java.lang.String the instance name

Input value: "propertySheet" -- Type: com.sun.webui.jsf.component.PropertySheet the edited property sheet

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

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

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

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

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

Sets the application configuration properties into the ShowBean


Parameters:
  handlerCtx - Description of Parameter



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

For a given component name saves the edited variables

Input value: "compName" -- Type: java.lang.String the component name

Input value: "instanceName" -- Type: java.lang.String the instance name

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

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

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

Sets the component application variables properties into the ShowBean


Parameters:
  handlerCtx - Description of Parameter



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

This handler saves the updated component runtime configuration


Parameters:
  handlerCtx - Description of Parameter



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

This handler saves the values for all the attributes in the Server Logging Levels Page.


Parameters:
  handlerCtx - Description of Parameter



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

This handler saves the values for all the attributes in the Server Logging Levels Page.


Parameters:
  handlerCtx - Description of Parameter



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

For a given component name and an application configuration name, returns the properties.

Input value: "appConfigName" -- Type: java.lang.String the application configuration name

Input value: "compName" -- Type: java.lang.String the component name

Input value: "instanceName" -- Type: java.lang.String the instance name

Sets the application configuration properties into the ShowBean


Parameters:
  handlerCtx - Description of Parameter



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

For a given (started) component type and name and a given instance, updates the ShowBean with the list of application configuration names.

If the component has not targets, or the selected instance is not started, or the component is not started, or the component has not provided an application configuration MBean, returns an alert summary and details.

Input value: "requestedCompName" -- Type: java.lang.String the requested component name

Input value: "compType" -- Type: java.lang.String the requested component type

Input value: "requestedInstanceName" -- Type: java.lang.String the requested instance name, or null

Output value: "alertDetails" -- Type: String alert details, if needed

Output value: "alertSummary" -- Type: String alert summary, if neeed

Output value: "instanceList" -- Type: SelectItem[]list of instances to populate dropDown, if any

Output value: "isAlertNeeded" -- Type: java.lang.Boolean true if alert should be displayed

Output value: "isInstanceDropDownEnabled" -- Type: java.lang.Boolean true if the dropDown selection may be changed

Output value: "selectedInstance" -- Type: Stringthe currently selected instance, or a default


Parameters:
  handlerCtx - Description of Parameter



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

For a given component and instance updates the CompConfigBean with a configuration property sheet of the requested configuration type (if any)

If the component has no targets, or the (possibly default) selected instance is not running, or the component is not started, or the component does not support the requested type of configuration, returns an alert summary and details.

Input value: "compName" -- Type: java.lang.String the requested component name

Input value: "compType" -- Type: java.lang.String the requested component type

Input value: "configType" -- Type: java.lang.String the requested configuration data type, one of: application, installation, or runtime

Input value: "prevSelectedInstance" -- Type: java.lang.String the previous selected instance name, or null if this page is being loaded for the first time.

Output value: "instancesList" -- Type: SelectItem[] instances, if any, to populate dropDown

Output value: "isInstanceDropDownEnabled" -- Type: java.lang.Boolean true if the dropDown selection may be changed, set to false if the list contains one or zero choices

Output value: "currSelectedInstance" -- Type: Stringthe currently selected instance, or a default initial selection, or null if there are no targets for this component

Output value: "isAlertNeeded" -- Type: java.lang.Boolean true if alert should be displayed

Output value: "alertSummary" -- Type: String alert summary, if neeed

Output value: "alertDetails" -- Type: String alert details, if needed


Parameters:
  handlerCtx - Description of Parameter



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

For a given component name creates an empty set of properties

Input value: "compName" -- Type: java.lang.String the component name

Input value: "instanceName" -- Type: java.lang.String the instance name

Sets the new application configuration properties into the ShowBean


Parameters:
  handlerCtx - Description of Parameter



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.