| java.lang.Object org.springframework.webflow.action.BeanInvokingActionFactory
BeanInvokingActionFactory | public class BeanInvokingActionFactory (Code) | | A helper factory for
Action instances that invoke methods on beans
managed in a Spring bean factory.
This factory encapsulates the logic required to take an arbitrary
java.lang.Object from a Spring bean factory and adapt a method
on it to the
Action interface. If the bean you want to use is not
managed in a Spring bean factory, consider subclassing
AbstractBeanInvokingAction and using it directly.
See Also: AbstractBeanInvokingAction author: Keith Donald |
createBeanInvokingAction | public Action createBeanInvokingAction(String beanId, BeanFactory beanFactory, MethodSignature methodSignature, ActionResultExposer resultExposer, ConversionService conversionService, AttributeMap attributes)(Code) | | Factory method that creates a bean invoking action, an adapter that
adapts a method on an abitrary
Object to the
Action interface. This method is an atomic operation that returns a fully
initialized Action. It encapsulates the selection of the action
implementation as well as the action assembly.
Parameters: beanId - the id of the bean to be adapted to an Action instance Parameters: beanFactory - the bean factory where the bean is managed Parameters: methodSignature - the method to invoke on the bean when the actionis executed (required) Parameters: resultExposer - the specification for what to do with the methodreturn value (optional) Parameters: conversionService - the conversion service to be used to convertmethod parameters (optional) Parameters: attributes - attributes that may be used to affect the bean invokingaction's construction the fully configured bean invoking action instance |
getResultEventFactorySelector | public ResultEventFactorySelector getResultEventFactorySelector()(Code) | | Returns the strategy for calculating the result event factory to
configure for each bean invoking action created by this factory.
|
setResultEventFactorySelector | public void setResultEventFactorySelector(ResultEventFactorySelector resultEventFactorySelector)(Code) | | Sets the strategy to calculate the result event factory to configure for
each bean invoking action created by this factory.
|
|
|