Java Doc for PageFlowManagedObject.java in  » Library » Apache-beehive-1.0.2-src » org » apache » beehive » netui » pageflow » 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 » Library » Apache beehive 1.0.2 src » org.apache.beehive.netui.pageflow 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.beehive.netui.pageflow.PageFlowManagedObject

All known Subclasses:   org.apache.beehive.netui.pageflow.FlowController,  org.apache.beehive.netui.pageflow.FacesBackingBean,
PageFlowManagedObject
abstract public class PageFlowManagedObject implements Serializable,HttpSessionBindingListener(Code)
Base class for Page Flow managed objects (like page flows and JavaServer Faces backing beans).



Constructor Summary
protected  PageFlowManagedObject()
    

Method Summary
public synchronized  voidcreate(HttpServletRequest request, HttpServletResponse response, ServletContext servletContext)
     Initialize after object creation.
 voiddestroy(HttpSession session)
     Internal destroy method that is invoked when this object is being removed from the session.
abstract public  voidensureFailover(HttpServletRequest request)
     Ensures that any changes to this object will be replicated in a cluster (for failover), even if the replication scheme uses a change-detection algorithm that relies on HttpSession.setAttribute to be aware of changes.
protected  booleanfieldIsUninitialized(Field field)
     Tell whether the given Field is uninitialized.
public  longgetCreateTime()
     Get the time at which this object was created.
abstract public  StringgetDisplayName()
     Get the display name for this managed object.
protected  ServletContextgetServletContext()
     Get the current ServletContext.
protected  voidinitializeField(Field field, Object instance)
     Initialize the given field with an instance.
 booleanisDestroyed()
     Package protected getter that provides access to a read-only property about the current state of this Page Flow.
protected  voidonCreate()
     Create-time callback.
protected  voidonDestroy(HttpSession session)
     Callback that occurs when this object is "destroyed", i.e., removed from the session.
abstract public  voidpersistInSession(HttpServletRequest request, HttpServletResponse response)
     Store this object in the user session, in the appropriate place.
public  voidreinitialize(HttpServletRequest request, HttpServletResponse response, ServletContext servletContext)
     Reinitialize the object for a new request.
 voidreinitializeIfNecessary(HttpServletRequest request, HttpServletResponse response, ServletContext servletContext)
     Internal method to reinitialize only if necessary.
abstract public  voidremoveFromSession(HttpServletRequest request)
     Remove this instance from the session.
public  voidvalueBound(HttpSessionBindingEvent event)
     Callback when this object is added to the user session.
public  voidvalueUnbound(HttpSessionBindingEvent event)
     Callback when this object is removed from the user session.


Constructor Detail
PageFlowManagedObject
protected PageFlowManagedObject()(Code)




Method Detail
create
public synchronized void create(HttpServletRequest request, HttpServletResponse response, ServletContext servletContext) throws Exception(Code)
Initialize after object creation. This is a framework-invoked method; it should not normally be called directly.



destroy
void destroy(HttpSession session)(Code)
Internal destroy method that is invoked when this object is being removed from the session. This is a framework-invoked method; it should not normally be called directly.



ensureFailover
abstract public void ensureFailover(HttpServletRequest request)(Code)
Ensures that any changes to this object will be replicated in a cluster (for failover), even if the replication scheme uses a change-detection algorithm that relies on HttpSession.setAttribute to be aware of changes. Note that this method is used by the framework and does not need to be called explicitly in most cases.
Parameters:
  request - the current HttpServletRequest



fieldIsUninitialized
protected boolean fieldIsUninitialized(Field field)(Code)
Tell whether the given Field is uninitialized. true if the field is non-null and its value is null.



getCreateTime
public long getCreateTime()(Code)
Get the time at which this object was created. the system time, in milliseconds, at which this object was created.



getDisplayName
abstract public String getDisplayName()(Code)
Get the display name for this managed object.



getServletContext
protected ServletContext getServletContext()(Code)
Get the current ServletContext.



initializeField
protected void initializeField(Field field, Object instance)(Code)
Initialize the given field with an instance. Mainly useful for the error handling.



isDestroyed
boolean isDestroyed()(Code)
Package protected getter that provides access to a read-only property about the current state of this Page Flow. If it has been destroyed in the middle of a request, this flag will return true and false otherwise. true if this object has been destroyed; false otherwise.



onCreate
protected void onCreate() throws Exception(Code)
Create-time callback. Occurs after internal initialization (e.g., Control fields) is done.
throws:
  Exception -



onDestroy
protected void onDestroy(HttpSession session)(Code)
Callback that occurs when this object is "destroyed", i.e., removed from the session.
Parameters:
  session -



persistInSession
abstract public void persistInSession(HttpServletRequest request, HttpServletResponse response)(Code)
Store this object in the user session, in the appropriate place. Used by the framework; normally should not be called directly.



reinitialize
public void reinitialize(HttpServletRequest request, HttpServletResponse response, ServletContext servletContext)(Code)
Reinitialize the object for a new request. Used by the framework; normally should not be called directly.



reinitializeIfNecessary
void reinitializeIfNecessary(HttpServletRequest request, HttpServletResponse response, ServletContext servletContext)(Code)
Internal method to reinitialize only if necessary. The test is whether the ServletContext reference has been lost.



removeFromSession
abstract public void removeFromSession(HttpServletRequest request)(Code)
Remove this instance from the session.



valueBound
public void valueBound(HttpSessionBindingEvent event)(Code)
Callback when this object is added to the user session.



valueUnbound
public void valueUnbound(HttpSessionBindingEvent event)(Code)
Callback when this object is removed from the user session. Causes PageFlowManagedObject.onDestroy to be called. This is a framework-invoked method that should not be called directly.



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.