类 PortletModeHandlerMapping

  • 所有已实现的接口:
    Aware, ApplicationContextAware, Ordered, HandlerMapping

    public class PortletModeHandlerMapping
    extends AbstractMapBasedHandlerMapping<PortletMode>
    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>
     
    从以下版本开始:
    2.0
    作者:
    William G. Thompson, Jr., John A. Lewis