com.jcorporate.expresso.core.controller

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 » Expresso » com.jcorporate.expresso.core.controller 
com.jcorporate.expresso.core.controller

This package contains the object defining the "Controller" object, an important component of Expresso that should be used to encapsulate all user interaction sequences.

Controllers are the guts Expresso's logic system. You derive your own controller class from DBController to automatically get features such as built in per-state security.

 

Java Source File NameTypeComment
Block.javaClass A Block is a logical grouping of Expresso Controller Elements used for nesting.
Controller.javaClass A sequence of interaction with a user is defined as a "Controller".

An Expresso controller is best thought of as a finite state machine.

ControllerElement.javaClass A ControllerElement is the superclass for the three types of objects that are produced by a Controller when it transitions from one state to another. Output, Input and Transition objects all extend this class, and share the behaviors specified here. IMPORTANT NOTE: We don't use Logging (e.g.
ControllerException.javaClass
ControllerFactory.javaInterface Abstract interface for creating a controller.
ControllerForm.javaClass
ControllerInstallLog.javaClass This is an implementation of the IntallLog interface that is useful when running installation systems inside controllers.
ControllerRequest.javaClass ControllerRequest is a simple "wrapper" object that holds the parameters and data required for a controller to be able to transition to a new state.
ControllerResponse.javaClass A ControllerResponse object contains the vector of Inputs, Outputs and Transitions that results from a call to "newState(String)" for a particular controller.
DBController.javaClass
DefaultControllerFactory.javaClass This version of Controller Factory acts dumb.
DefaultForm.javaClass

This class is a bridge between Expresso's Controller system and the Struts Action Form.

DynamicForwarder.javaClass Used for custom dynamic routing.
ErrorCollection.javaClass
ExpressoActionServlet.javaClass
ExpressoPlugin.javaClass
ExpressoRequestProcessor.javaClass
Input.javaClass An Input object is one of the three types of objects generated by a Controller when it transitions from one state to another.
NonHandleableException.javaClass Exception thrown by ErrorHandler itself, and by some parts of ControllerServlet.
Output.javaClass An item returned from a controller to provide output/feedback to the client.
An Output object is one of the three types of object that can be returned by a Controller moving to a new state.
SecureIfSetController.javaClass Controller that uses security if the security system is available.

There are a class of controllers that are unique in that they need database security working ONLY if the database has already been set up.

SecureRequestUtils.javaClass Extended the Struts' RequestUtils to add additional utility methods.
ServletControllerRequest.javaClass ServletControllerRequest is an extension of ControllerRequest that also contains access to "special" servlet-related items, such as the ServletResponse object.
ServletControllerResponse.javaClass A ServletControllerResponse object is an extension that provides wide access to the pure Struts API and Servlet environment. For example you may want to generate dynamic ActionForwards or retrieve access to the ActionMapping class.

 public AcmeController extends DBController {
 

protected void runProcessOrderState( ControllerRequest req, ControllerRequest res ) { ServletControllerRequest request = (ServletControllerRequest)req; ActionMapping mapping = request.getMapping();

ServletControllerResponse request = (ServletControllerRequest)req; ActionMapping mapping = response.getMapping();

// ...

State.javaClass A State embodies a single state in the finite state machine of a Controller object.
StateForm.javaInterface Insert the type's description here.
TilesController.javaClass Implementation of the org.apache.struts.tiles.Controller interface.
Transition.javaClass

An Transition is a choice that the user can make that initiates either another sequence in this same controller or some new controller.

ValidationException.javaClass Exception thrown during validation of user form input.
ValidationItem.javaClass A ValidationItem encapsulates a single item to be validated, typically an input collected from a web page submission.
ValidationSet.javaClass A ValidationSet contains one or more ValidationItems.
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.