Java Doc for AbstractApplicationBean.java in  » IDE-Netbeans » visualweb.api.designer » com » sun » rave » web » ui » appbase » 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 » IDE Netbeans » visualweb.api.designer » com.sun.rave.web.ui.appbase 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.rave.web.ui.appbase.FacesBean
      com.sun.rave.web.ui.appbase.AbstractApplicationBean

All known Subclasses:   vehicleincidentreportapplication.ApplicationBean1,  twopagecrudtable.ApplicationBean1,  movieadmin.ApplicationBean1,  travelcenter.ApplicationBean1,  singlepagecrudtable.ApplicationBean1,  singlepagecrudform.ApplicationBean1,
AbstractApplicationBean
abstract public class AbstractApplicationBean extends FacesBean (Code)

AbstractApplicationBean is the abstract base class for data bean(s) that are stored in application scope attributes. It extends FacesBean , so it inherits all of the default behavior found there. In addition, the following lifecycle methods are called automatically when the corresponding events occur:

  • init() - Called when this bean is initially added as an application scope attribute (typically as the result of evaluating a value binding or method binding expression).
  • destroy() - Called when the bean is removed from the application attributes (typically as a result of the application being shut down by the servlet container).


Field Summary
protected  Stringencoding
    

Mapping from the String version of the Locale for this response to the corresponding character encoding.


Constructor Summary
public  AbstractApplicationBean()
    

Method Summary
public  voiddestroy()
    

This method is called when this bean is removed from application scope.

public  StringgetLocaleCharacterEncoding()
    

Return an appropriate character encoding based on the Locale defined for the current JavaServer Faces view.

public  voidinit()
    

This method is called when this bean is initially added to application scope.


Field Detail
encoding
protected String encoding(Code)

Mapping from the String version of the Locale for this response to the corresponding character encoding. For each row, the first String is the value returned by the toString() method for the java.util.Locale for the current view, and the second String is the name of the character encoding to be used.

Only locales that use an encoding other than the default (UTF-8) need to be listed here.





Constructor Detail
AbstractApplicationBean
public AbstractApplicationBean()(Code)

Create a new application scope bean.





Method Detail
destroy
public void destroy()(Code)

This method is called when this bean is removed from application scope. Typically, this occurs as a result of the application being shut down by its owning container.

You may customize this method to clean up resources allocated during the execution of the init() method, or at any later time during the lifetime of the application.




getLocaleCharacterEncoding
public String getLocaleCharacterEncoding()(Code)

Return an appropriate character encoding based on the Locale defined for the current JavaServer Faces view. If no more suitable encoding can be found, return "UTF-8" as a general purpose default.

This method makes a convenient value binding target for the value property of a Set Encoding component. Applications that wish to specialize this behavior can override this method in their own application bean class.




init
public void init()(Code)

This method is called when this bean is initially added to application scope. Typically, this occurs as a result of evaluating a value binding or method binding expression, which utilizes the managed bean facility to instantiate this bean and store it into application scope.

You may customize this method to initialize and cache application wide data values (such as the lists of valid options for dropdown list components), or to allocate resources that are required for the lifetime of the application.




Methods inherited from com.sun.rave.web.ui.appbase.FacesBean
protected void erase()(Code)(Java Doc)
protected void error(String summary)(Code)(Java Doc)
protected void error(UIComponent component, String summary)(Code)(Java Doc)
protected void fatal(String summary)(Code)(Java Doc)
protected void fatal(UIComponent component, String summary)(Code)(Java Doc)
protected Application getApplication()(Code)(Java Doc)
protected Map getApplicationMap()(Code)(Java Doc)
protected Object getBean(String name)(Code)(Java Doc)
protected List getCachedExceptions()(Code)(Java Doc)
protected FacesContext getContext()(Code)(Java Doc)
protected ExternalContext getExternalContext()(Code)(Java Doc)
protected FacesContext getFacesContext()(Code)(Java Doc)
protected Lifecycle getLifecycle()(Code)(Java Doc)
protected Map getRequestMap()(Code)(Java Doc)
protected Map getSessionMap()(Code)(Java Doc)
protected Object getValue(String expr)(Code)(Java Doc)
protected void info(String summary)(Code)(Java Doc)
protected void info(UIComponent component, String summary)(Code)(Java Doc)
protected void log(String message)(Code)(Java Doc)
protected void log(String message, Throwable throwable)(Code)(Java Doc)
public Object retrieveData(String key)(Code)(Java Doc)
public void saveData(String key, Object data)(Code)(Java Doc)
protected void setBean(String name, Object value)(Code)(Java Doc)
protected void setValue(String expr, Object value)(Code)(Java Doc)
protected void warn(String summary)(Code)(Java Doc)
protected void warn(UIComponent component, String summary)(Code)(Java Doc)

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.