Class SpelFunctionFactoryBean
java.lang.Object
org.springframework.integration.config.SpelFunctionFactoryBean
- All Implemented Interfaces:
Aware,BeanNameAware,FactoryBean<Method>,InitializingBean
public class SpelFunctionFactoryBean
extends Object
implements FactoryBean<Method>, InitializingBean, BeanNameAware
A
FactoryBean implementation to encapsulate the population of a static Method
from the provided functionClass and functionMethodSignature as
a valid StandardEvaluationContext function.- Since:
- 3.0
- Author:
- Artem Bilan
- See Also:
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
ConstructorsConstructorDescriptionSpelFunctionFactoryBean(Class<?> functionClass, String functionMethodSignature) -
Method Summary
-
Constructor Details
-
SpelFunctionFactoryBean
-
-
Method Details
-
setBeanName
- Specified by:
setBeanNamein interfaceBeanNameAware
-
getFunctionName
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceInitializingBean
-
getObject
- Specified by:
getObjectin interfaceFactoryBean<Method>
-
getObjectType
- Specified by:
getObjectTypein interfaceFactoryBean<Method>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingletonin interfaceFactoryBean<Method>
-