Class LangNamespaceUtils

java.lang.Object
org.springframework.scripting.config.LangNamespaceUtils

public abstract class LangNamespaceUtils extends Object
Utilities for use with LangNamespaceHandler.
Since:
2.5
Author:
Rob Harrop, Mark Fisher
  • 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 a ScriptFactoryPostProcessor bean definition in the supplied BeanDefinitionRegistry if the ScriptFactoryPostProcessor hasn't already been registered.
      Parameters:
      registry - the BeanDefinitionRegistry to register the script processor with
      Returns:
      the ScriptFactoryPostProcessor bean definition (new or already registered)