org.springframework.extensions.webscripts.processor
Class AbstractScriptProcessor
java.lang.Object
org.springframework.extensions.webscripts.processor.BaseProcessor
org.springframework.extensions.webscripts.processor.BaseRegisterableScriptProcessor
org.springframework.extensions.webscripts.processor.AbstractScriptProcessor
- All Implemented Interfaces:
- EventListener, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener, Processor, ScriptProcessor
- Direct Known Subclasses:
- GroovyScriptProcessor, JSScriptProcessor, PHPScriptProcessor
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.springframework.context.ApplicationContextAware |
setApplicationContext |
AbstractScriptProcessor
public AbstractScriptProcessor()
setSearchPath
public void setSearchPath(SearchPath searchPath)
- Parameters:
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
-
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
Copyright © 2009 SpringSource, Inc. All Rights Reserved.