org.springframework.web.portlet.handler

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 » spring framework 2.0.6 » org.springframework.web.portlet.handler 
org.springframework.web.portlet.handler
Provides standard HandlerMapping implementations, including abstract base classes for custom implementations.
Java Source File NameTypeComment
AbstractHandlerMapping.javaClass Abstract base class for org.springframework.web.portlet.HandlerMapping implementations.
AbstractMapBasedHandlerMapping.javaClass Abstract base class for HandlerMapping implementations that rely on a map which caches handler objects per lookup key.
HandlerInterceptorAdapter.javaClass Abstract adapter class for the HandlerInterceptor interface, for simplified implementation of pre-only/post-only interceptors.
author:
   Juergen Hoeller
author:
   John A.
ParameterHandlerMapping.javaClass Implementation of the HandlerMapping interface to map from a request parameter to request handler beans.

The default name of the parameter is "action", but can be changed using ParameterHandlerMapping.setParameterName setParameterName() .

The bean configuration for this mapping will look somthing like this:

 <bean id="parameterHandlerMapping" class="org.springframework.web.portlet.handler.ParameterHandlerMapping">
 <property name="parameterMap">
 <map>
 <entry key="add"><ref bean="addItemHandler"/></entry>
 <entry key="edit"><ref bean="editItemHandler"/></entry>
 <entry key="delete"><ref bean="deleteItemHandler"/></entry>
 </map>
 </property>
 </bean>
Thanks to Rainer Schmitz for suggesting this mapping strategy!
author:
   John A.
ParameterMappingInterceptor.javaClass Interceptor to forward a request parameter from the ActionRequest to the RenderRequest.

This can be useful when using ParameterHandlerMapping ParameterHandlerMapping or PortletModeParameterHandlerMapping PortletModeParameterHandlerMapping . It will ensure that the parameter that was used to map the ActionRequest to a handler will be forwarded to the RenderRequest so that it will also be mapped the same way.

When using this Interceptor, you can still change the value of the mapping parameter in your handler in order to change where the render request will get mapped.

Be aware that this Interceptor does call ActionResponse.setRenderParameter, which means that you will not be able to call ActionResponse.sendRedirect in your handler.

PortletContentGenerator.javaClass Convenient superclass for any kind of web content generator, like AbstractController.
PortletModeHandlerMapping.javaClass

Implementation of the HandlerMapping interface to map from the current PortletMode to request handler beans.

The bean configuration for this mapping will look something like this:

 <bean id="portletModeHandlerMapping" class="org.springframework.web.portlet.handler.PortletModeHandlerMapping">
 <property name="portletModeMap">
 <map>
 <entry key="view"><ref bean="viewHandler"/></entry>
 <entry key="edit"><ref bean="editHandler"/></entry>
 <entry key="help"><ref bean="helpHandler"/></entry>
 </map>
 </property>
 </bean>
 

author:
   William G.
PortletModeParameterHandlerMapping.javaClass Implementation of the HandlerMapping interface to map from the current PortletMode and a request parameter to request handler beans. The mapping consists of two levels: first the PortletMode and then the parameter value.
PortletSessionRequiredException.javaClass Exception thrown when a portlet content generator requires a pre-existing session.
author:
   John A.
SimpleMappingExceptionResolver.javaClassorg.springframework.web.portlet.HandlerExceptionResolver implementation that allows for mapping exception class names to view names, either for a set of given handlers or for all handlers in the DispatcherPortlet.

Error views are analogous to error page JSPs, but can be used with any kind of exception including any checked one, with fine-granular mappings for specific handlers.
author:
   Juergen Hoeller
author:
   John A.

SimplePortletHandlerAdapter.javaClass Adapter to use the Portlet interface with the generic DispatcherPortlet. Calls the Portlet's render and processAction methods to handle a request.

This adapter is not activated by default; it needs to be defined as a bean in the DispatcherPortlet context.

SimplePortletPostProcessor.javaClass Bean post-processor that applies initialization and destruction callbacks to beans that implement the Portlet interface.

After initialization of the bean instance, the Portlet init method will be called with a PortletConfig that contains the bean name of the Portlet and the PortletContext that it is running in.

Before destruction of the bean instance, the Portlet destroy will be called.

Note that this post-processor does not support Portlet initialization parameters. Bean instances that implement the Portlet interface are supposed to be configured like any other Spring bean, that is, through constructor arguments or bean properties.

For reuse of a Portlet implementation in a plain Portlet container and as a bean in a Spring context, consider deriving from Spring's GenericPortletBean base class that applies Portlet initialization parameters as bean properties, supporting both initialization styles.

Alternatively, consider wrapping a Portlet with Spring's PortletWrappingController. This is particularly appropriate for existing Portlet classes, allowing to specify Portlet initialization parameters etc.
author:
   Juergen Hoeller
author:
   John A.

UserRoleAuthorizationInterceptor.javaClass Interceptor that checks the authorization of the current user via the user's roles, as evaluated by PortletRequest's isUserInRole method.
author:
   John A.
WebRequestHandlerInterceptorAdapter.javaClass Adapter that implements the Portlet HandlerInterceptor interface and wraps an underlying WebRequestInterceptor.
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.