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
ConstructorDescriptionSpelFunctionFactoryBean
(Class<?> functionClass, String functionMethodSignature) -
Method Summary
-
Constructor Details
-
SpelFunctionFactoryBean
-
-
Method Details
-
setBeanName
- Specified by:
setBeanName
in interfaceBeanNameAware
-
getFunctionName
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceInitializingBean
-
getObject
- Specified by:
getObject
in interfaceFactoryBean<Method>
-
getObjectType
- Specified by:
getObjectType
in interfaceFactoryBean<Method>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingleton
in interfaceFactoryBean<Method>
-