com.opensymphony.workflow.util
Class SpringTypeResolver
java.lang.Object
com.opensymphony.workflow.TypeResolver
com.opensymphony.workflow.util.SpringTypeResolver
- All Implemented Interfaces:
- org.springframework.context.ApplicationContextAware
public class SpringTypeResolver
- extends TypeResolver
- implements org.springframework.context.ApplicationContextAware
Spring-aware type resolver.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringTypeResolver
public SpringTypeResolver()
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
getCondition
public Condition getCondition(String type,
Map args)
throws WorkflowException
- Overrides:
getCondition in class TypeResolver
- Throws:
WorkflowException
setConditions
public void setConditions(Map conditions)
getFunction
public FunctionProvider getFunction(String type,
Map args)
throws WorkflowException
- Overrides:
getFunction in class TypeResolver
- Throws:
WorkflowException
setFunctions
public void setFunctions(Map functions)
getRegister
public Register getRegister(String type,
Map args)
throws WorkflowException
- Overrides:
getRegister in class TypeResolver
- Throws:
WorkflowException
setRegisters
public void setRegisters(Map registers)
getValidator
public Validator getValidator(String type,
Map args)
throws WorkflowException
- Overrides:
getValidator in class TypeResolver
- Throws:
WorkflowException
setValidators
public void setValidators(Map validators)