Java Doc for CompoundRequestCycleProcessor.java in  » J2EE » wicket » wicket » request » compound » 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 » J2EE » wicket » wicket.request.compound 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   wicket.request.compound.AbstractCompoundRequestCycleProcessor
      wicket.request.compound.CompoundRequestCycleProcessor

All known Subclasses:   wicket.protocol.http.portlet.PortletRenderRequestCycleProcessor,  wicket.protocol.http.DefaultWebRequestCycleProcessor,  wicket.protocol.http.portlet.PortletActionRequestCycleProcessor,
CompoundRequestCycleProcessor
public class CompoundRequestCycleProcessor extends AbstractCompoundRequestCycleProcessor (Code)
Default implementation of wicket.request.compound.AbstractCompoundRequestCycleProcessor that expects the delegate strategies to be set once at construction time.

This class call the appropriate factory methods to lazily create the strategies if they were not set at construction time. After that the strategies are cached and used for multiple thread access. Hence, if you use this class, your strategies need to be thread safe. If this is not what you want, consider overriding one of the getXXX methods, in which case the newXXX methods will obviously not be used unless you call them directly.


author:
   Eelco Hillenius



Constructor Summary
public  CompoundRequestCycleProcessor()
     Default constructor.
public  CompoundRequestCycleProcessor(IRequestCodingStrategy requestCodingStrategy)
     Constructor with the only strategy we don't have a default for.
public  CompoundRequestCycleProcessor(IRequestCodingStrategy requestCodingStrategy, IRequestTargetResolverStrategy requestTargetResolverStrategy, IEventProcessorStrategy eventProcessorStrategy, IResponseStrategy responseStrategy, IExceptionResponseStrategy exceptionResponseStrategy)
     Bulk constructor.

Method Summary
protected  IEventProcessorStrategygetEventProcessorStrategy()
     Gets the cached event processor instance or create one by calling CompoundRequestCycleProcessor.newEventProcessorStrategy() .
protected  IExceptionResponseStrategygetExceptionResponseStrategy()
     Gets the cached exception response strategy instance or create one by calling CompoundRequestCycleProcessor.newExceptionResponseStrategy() .
public  IRequestCodingStrategygetRequestCodingStrategy()
     Gets the cached request encoder instance or create one by calling CompoundRequestCycleProcessor.newRequestCodingStrategy() .
protected  IRequestTargetResolverStrategygetRequestTargetResolverStrategy()
     Gets the cached target resolver instance or create one by calling CompoundRequestCycleProcessor.newRequestTargetResolverStrategy() .
protected  IResponseStrategygetResponseStrategy()
     Gets the cached response strategy instance or create one by calling CompoundRequestCycleProcessor.newResponseStrategy() .
protected  IEventProcessorStrategynewEventProcessorStrategy()
     Overridable factory method for creating the event processor.
protected  IExceptionResponseStrategynewExceptionResponseStrategy()
     Overridable factory method for creating the exception response strategy.
protected  IRequestCodingStrategynewRequestCodingStrategy()
     Overridable factory method for creating the request encoder.
protected  IRequestTargetResolverStrategynewRequestTargetResolverStrategy()
     Overridable factory method for creating the target resolver strategy.
protected  IResponseStrategynewResponseStrategy()
     Overridable factory method for creating the response strategy.


Constructor Detail
CompoundRequestCycleProcessor
public CompoundRequestCycleProcessor()(Code)
Default constructor. If you use this constructor, please note that it will fall back on calling the factory methods (newXXX), which may or may not provide a default. Some implementations need to be provided still; if they are not, an exception will be thrown.



CompoundRequestCycleProcessor
public CompoundRequestCycleProcessor(IRequestCodingStrategy requestCodingStrategy)(Code)
Constructor with the only strategy we don't have a default for.
Parameters:
  requestCodingStrategy - the strategy for constructing request parameters



CompoundRequestCycleProcessor
public CompoundRequestCycleProcessor(IRequestCodingStrategy requestCodingStrategy, IRequestTargetResolverStrategy requestTargetResolverStrategy, IEventProcessorStrategy eventProcessorStrategy, IResponseStrategy responseStrategy, IExceptionResponseStrategy exceptionResponseStrategy)(Code)
Bulk constructor. Constructs using the given strategies; all of which may be null in which case the factory methods will be used.
Parameters:
  requestCodingStrategy - the strategy for constructing request parameters
Parameters:
  requestTargetResolverStrategy - the strategy for the target resolver method
Parameters:
  eventProcessorStrategy - the strategy for the event processor method
Parameters:
  responseStrategy - the strategy for the response method
Parameters:
  exceptionResponseStrategy - the strategy for the exception response method




Method Detail
getEventProcessorStrategy
protected IEventProcessorStrategy getEventProcessorStrategy()(Code)
Gets the cached event processor instance or create one by calling CompoundRequestCycleProcessor.newEventProcessorStrategy() .
See Also:   wicket.request.compound.AbstractCompoundRequestCycleProcessor.getEventProcessorStrategy



getExceptionResponseStrategy
protected IExceptionResponseStrategy getExceptionResponseStrategy()(Code)
Gets the cached exception response strategy instance or create one by calling CompoundRequestCycleProcessor.newExceptionResponseStrategy() .
See Also:   wicket.request.compound.AbstractCompoundRequestCycleProcessor.getExceptionResponseStrategy



getRequestCodingStrategy
public IRequestCodingStrategy getRequestCodingStrategy()(Code)
Gets the cached request encoder instance or create one by calling CompoundRequestCycleProcessor.newRequestCodingStrategy() .
See Also:   wicket.request.IRequestCycleProcessor.getRequestCodingStrategy



getRequestTargetResolverStrategy
protected IRequestTargetResolverStrategy getRequestTargetResolverStrategy()(Code)
Gets the cached target resolver instance or create one by calling CompoundRequestCycleProcessor.newRequestTargetResolverStrategy() .
See Also:   wicket.request.compound.AbstractCompoundRequestCycleProcessor.getRequestTargetResolverStrategy



getResponseStrategy
protected IResponseStrategy getResponseStrategy()(Code)
Gets the cached response strategy instance or create one by calling CompoundRequestCycleProcessor.newResponseStrategy() .
See Also:   wicket.request.compound.AbstractCompoundRequestCycleProcessor.getResponseStrategy



newEventProcessorStrategy
protected IEventProcessorStrategy newEventProcessorStrategy()(Code)
Overridable factory method for creating the event processor. Called by CompoundRequestCycleProcessor.getEventProcessorStrategy() . a new event processor instance



newExceptionResponseStrategy
protected IExceptionResponseStrategy newExceptionResponseStrategy()(Code)
Overridable factory method for creating the exception response strategy. Called by CompoundRequestCycleProcessor.getExceptionResponseStrategy() . a new response strategy instance



newRequestCodingStrategy
protected IRequestCodingStrategy newRequestCodingStrategy()(Code)
Overridable factory method for creating the request encoder. Called by CompoundRequestCycleProcessor.getRequestCodingStrategy() . as there is no generic default for the request encoder, this method throws an exception by default. You either have to provide an instance as a constructor argument, or override this method or CompoundRequestCycleProcessor.getRequestCodingStrategy() . a new target resolver instance



newRequestTargetResolverStrategy
protected IRequestTargetResolverStrategy newRequestTargetResolverStrategy()(Code)
Overridable factory method for creating the target resolver strategy. Called by CompoundRequestCycleProcessor.getRequestTargetResolverStrategy() . a new target resolver instance



newResponseStrategy
protected IResponseStrategy newResponseStrategy()(Code)
Overridable factory method for creating the response strategy. Called by CompoundRequestCycleProcessor.getResponseStrategy() . a new response strategy instance



Methods inherited from wicket.request.compound.AbstractCompoundRequestCycleProcessor
abstract protected IEventProcessorStrategy getEventProcessorStrategy()(Code)(Java Doc)
abstract protected IExceptionResponseStrategy getExceptionResponseStrategy()(Code)(Java Doc)
abstract protected IRequestTargetResolverStrategy getRequestTargetResolverStrategy()(Code)(Java Doc)
abstract protected IResponseStrategy getResponseStrategy()(Code)(Java Doc)
public void processEvents(RequestCycle requestCycle)(Code)(Java Doc)
public IRequestTarget resolve(RequestCycle requestCycle, RequestParameters requestParameters)(Code)(Java Doc)
public void respond(RequestCycle requestCycle)(Code)(Java Doc)
public void respond(RuntimeException e, RequestCycle requestCycle)(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.