Package de.hybris.platform.spring
Class SpringAwareGroovyServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- groovy.servlet.AbstractHttpServlet
-
- groovy.servlet.GroovyServlet
-
- de.hybris.platform.spring.SpringAwareGroovyServlet
-
- All Implemented Interfaces:
groovy.util.ResourceConnector,java.io.Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
public class SpringAwareGroovyServlet extends groovy.servlet.GroovyServletVersion ofGroovyServletwhich is making all Spring bean accessible fromRegistry.getApplicationContext().- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classSpringAwareGroovyServlet.SpringAwareBindingGroovyBindingwhich is delegating to a existing one but looks up missing variables inside the providedApplicationContext.protected static classSpringAwareGroovyServlet.SpringAwareGroovySriptEngineModifiedGroovyScriptEnginewhich holds aApplicationContextand wrapping eachBindinginto aSpringAwareGroovyServlet.SpringAwareBinding.
-
Field Summary
-
Fields inherited from class groovy.servlet.AbstractHttpServlet
CONTENT_TYPE_TEXT_HTML, encoding, INC_PATH_INFO, INC_REQUEST_URI, INC_SERVLET_PATH, INIT_PARAM_RESOURCE_NAME_REGEX, INIT_PARAM_RESOURCE_NAME_REGEX_FLAGS, namePrefix, reflection, resourceNamePattern, resourceNameReplaceAll, resourceNameReplacement, servletContext, verbose
-
-
Constructor Summary
Constructors Constructor Description SpringAwareGroovyServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected groovy.util.GroovyScriptEnginecreateGroovyScriptEngine()-
Methods inherited from class groovy.servlet.AbstractHttpServlet
applyResourceNameMatcher, generateNamePrefixOnce, getResourceConnection, getScriptUri, getScriptUriAsFile, removeNamePrefix, setVariables
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
-
-