public class FlowHandlerAdapter
extends org.springframework.web.portlet.handler.PortletContentGenerator
implements org.springframework.web.portlet.HandlerAdapter, org.springframework.beans.factory.InitializingBean
flow handlers
to manage the interaction with executions of
specific flow definitions.Constructor and Description |
---|
FlowHandlerAdapter()
Creates a new flow handler adapter.
|
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
FlowExecutor |
getFlowExecutor()
Returns the central service for executing flows.
|
FlowUrlHandler |
getFlowUrlHandler()
Returns the flow url handler.
|
void |
handleAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
Object handler) |
void |
handleEvent(javax.portlet.EventRequest request,
javax.portlet.EventResponse response,
Object handler) |
org.springframework.web.portlet.ModelAndView |
handleRender(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
Object handler) |
org.springframework.web.portlet.ModelAndView |
handleResource(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
Object handler) |
void |
setFlowExecutor(FlowExecutor flowExecutor)
Sets the central service for executing flows.
|
void |
setFlowUrlHandler(FlowUrlHandler urlHandler)
Sets the flow url handler
|
boolean |
supports(Object handler) |
getCacheSeconds, isRequireSession, setCacheSeconds, setRequireSession
setPortletContext
public FlowHandlerAdapter()
public FlowExecutor getFlowExecutor()
public void setFlowExecutor(FlowExecutor flowExecutor)
flowExecutor
- public FlowUrlHandler getFlowUrlHandler()
public void setFlowUrlHandler(FlowUrlHandler urlHandler)
urlHandler
- the flow url handlerpublic void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public boolean supports(Object handler)
supports
in interface org.springframework.web.portlet.HandlerAdapter
public org.springframework.web.portlet.ModelAndView handleRender(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response, Object handler) throws Exception
handleRender
in interface org.springframework.web.portlet.HandlerAdapter
Exception
public void handleAction(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response, Object handler) throws Exception
handleAction
in interface org.springframework.web.portlet.HandlerAdapter
Exception
public void handleEvent(javax.portlet.EventRequest request, javax.portlet.EventResponse response, Object handler)
handleEvent
in interface org.springframework.web.portlet.HandlerAdapter
public org.springframework.web.portlet.ModelAndView handleResource(javax.portlet.ResourceRequest request, javax.portlet.ResourceResponse response, Object handler)
handleResource
in interface org.springframework.web.portlet.HandlerAdapter