Class AbstractScriptProcessor

All Implemented Interfaces:
EventListener, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener, Processor, ScriptProcessor
Direct Known Subclasses:
JSScriptProcessor

public abstract class AbstractScriptProcessor extends BaseRegisterableScriptProcessor implements org.springframework.context.ApplicationContextAware, ScriptProcessor
Abstract class for use in helping developers to build script processors that take advantage of the web script framework's inherent support for search paths.
Author:
muzquiano
  • Constructor Details

    • AbstractScriptProcessor

      public AbstractScriptProcessor()
  • Method Details

    • setSearchPath

      public void setSearchPath(SearchPath searchPath)
      Parameters:
      searchPath - SearchPath
    • getSearchPath

      protected SearchPath getSearchPath()
      Gets the search path.
      Returns:
      the search path
    • getScriptLoader

      protected ScriptLoader getScriptLoader()
      Gets the script loader.
      Returns:
      the script loader
    • addProcessorModelExtensions

      protected void addProcessorModelExtensions(Object model)
      Add any configured processor model extensions to the model.
      Parameters:
      model - Object
    • initLoaders

      protected void initLoaders()
      Initializes the script loaders
    • init

      public void init()
      Description copied from class: BaseRegisterableScriptProcessor
      Inits the processor
      Specified by:
      init in class BaseRegisterableScriptProcessor
    • register

      public void register()
      Description copied from class: BaseRegisterableScriptProcessor
      Registers this processor with the parent processor
      Specified by:
      register in class BaseRegisterableScriptProcessor