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
-
Method Summary
Modifier and TypeMethodDescriptionstatic BeanDefinition
Register aScriptFactoryPostProcessor
bean definition in the suppliedBeanDefinitionRegistry
if theScriptFactoryPostProcessor
hasn't already been registered.
-
Constructor Details
-
LangNamespaceUtils
public LangNamespaceUtils()
-
-
Method Details
-
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)
-