Top Description Fields Constructors Methods
org.springframework.scripting.config

public abstract Class LangNamespaceUtils

extends Object
Class Inheritance
Imports
org.springframework.beans.factory.config.BeanDefinition, org.springframework.beans.factory.support.BeanDefinitionRegistry, .RootBeanDefinition, org.springframework.scripting.support.ScriptFactoryPostProcessor

Utilities for use with LangNamespaceHandler.
Authors
Rob Harrop, Mark Fisher
Since
2.5

Field Summary

Modifier and TypeField and Description
private static final String
SCRIPT_FACTORY_POST_PROCESSOR_BEAN_NAME

The unique name under which the internally managed ScriptFactoryPostProcessor is registered in the BeanDefinitionRegistry.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static BeanDefinition

Returns:

the ScriptFactoryPostProcessor bean definition (new or already registered)
registerScriptFactoryPostProcessorIfNecessary
(BeanDefinitionRegistry
the BeanDefinitionRegistry to register the script processor with
registry
)

Register a ScriptFactoryPostProcessor bean definition in the supplied BeanDefinitionRegistry if the ScriptFactoryPostProcessor hasn't already been registered.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

SCRIPT_FACTORY_POST_PROCESSOR_BEAN_NAMEback to summary
private static final String SCRIPT_FACTORY_POST_PROCESSOR_BEAN_NAME

The unique name under which the internally managed ScriptFactoryPostProcessor is registered in the BeanDefinitionRegistry.

Constructor Detail

LangNamespaceUtilsback to summary
public LangNamespaceUtils()

Method Detail

registerScriptFactoryPostProcessorIfNecessaryback to summary
public static BeanDefinition registerScriptFactoryPostProcessorIfNecessary(BeanDefinitionRegistry registry)

Register a ScriptFactoryPostProcessor bean definition in the supplied BeanDefinitionRegistry if the ScriptFactoryPostProcessor hasn't already been registered.

Parameters
registry:BeanDefinitionRegistry

the BeanDefinitionRegistry to register the script processor with

Returns:BeanDefinition

the ScriptFactoryPostProcessor bean definition (new or already registered)