<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN" "http://www.springframework.org/dtd/spring-beans-2.0.dtd">

<beans>

	<bean id="handlerMapping" class="org.springframework.web.portlet.handler.PortletModeParameterHandlerMapping">
	 	<property name="portletModeParameterMap">
	 		<map>
	 			<entry key="view">
	 				<map>
	 					<entry key="add" value-ref="addItemHandler"/>
	 					<entry key="remove" value-ref="removeItemHandler"/>
	 				</map>
	 			</entry>
	 			<entry key="edit">
	 				<map>
	 					<entry key="prefs" value-ref="preferencesHandler"/>
	 				</map>
	 			</entry>
	 		</map>
	 	</property>
	</bean>
	
	<bean id="addItemHandler" class="java.lang.Object"/>

	<bean id="removeItemHandler" class="java.lang.Object"/>
	
	<bean id="preferencesHandler" class="java.lang.Object"/>
	
</beans>
