Class LangNamespaceUtils
- java.lang.Object
- org.springframework.scripting.config.LangNamespaceUtils
public abstract class LangNamespaceUtils extends Object
- Since:
- 2.5
- Author:
- Rob Harrop, Mark Fisher
Constructor Summary
Constructors Constructor Description LangNamespaceUtils()
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BeanDefinition
registerScriptFactoryPostProcessorIfNecessary(BeanDefinitionRegistry registry)
Register aScriptFactoryPostProcessor
bean definition in the suppliedBeanDefinitionRegistry
if theScriptFactoryPostProcessor
hasn't already been registered.
Constructor Detail
LangNamespaceUtils
public LangNamespaceUtils()
Method Detail
registerScriptFactoryPostProcessorIfNecessary
public static BeanDefinition registerScriptFactoryPostProcessorIfNecessary(BeanDefinitionRegistry registry)
Register aScriptFactoryPostProcessor
bean definition in the suppliedBeanDefinitionRegistry
if theScriptFactoryPostProcessor
hasn't already been registered.- Parameters:
registry
- theBeanDefinitionRegistry
to register the script processor with- Returns:
- the
ScriptFactoryPostProcessor
bean definition (new or already registered)