Class LangNamespaceUtils
java.lang.Object
org.springframework.scripting.config.LangNamespaceUtils
Utilities for use with
LangNamespaceHandler.- Since:
- 2.5
- Author:
- Rob Harrop, Mark Fisher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.beans.factory.config.BeanDefinitionregisterScriptFactoryPostProcessorIfNecessary(org.springframework.beans.factory.support.BeanDefinitionRegistry registry) Register aScriptFactoryPostProcessorbean definition in the suppliedBeanDefinitionRegistryif theScriptFactoryPostProcessorhasn't already been registered.
-
Constructor Details
-
LangNamespaceUtils
public LangNamespaceUtils()
-
-
Method Details
-
registerScriptFactoryPostProcessorIfNecessary
public static org.springframework.beans.factory.config.BeanDefinition registerScriptFactoryPostProcessorIfNecessary(org.springframework.beans.factory.support.BeanDefinitionRegistry registry) Register aScriptFactoryPostProcessorbean definition in the suppliedBeanDefinitionRegistryif theScriptFactoryPostProcessorhasn't already been registered.- Parameters:
registry- theBeanDefinitionRegistryto register the script processor with- Returns:
- the
ScriptFactoryPostProcessorbean definition (new or already registered)
-