|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ofbiz.webapp.event.GroovyEventHandler
public class GroovyEventHandler
Field Summary | |
---|---|
static java.lang.String |
module
|
Constructor Summary | |
---|---|
GroovyEventHandler()
|
Method Summary | |
---|---|
void |
init(ServletContext context)
Initializes the handler. |
java.lang.String |
invoke(ConfigXMLReader.Event event,
ConfigXMLReader.RequestMap requestMap,
HttpServletRequest request,
HttpServletResponse response)
Invoke the web event |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String module
Constructor Detail |
---|
public GroovyEventHandler()
Method Detail |
---|
public void init(ServletContext context) throws EventHandlerException
EventHandler
init
in interface EventHandler
context
- ServletContext This may be needed by the handler in order to lookup properties or XML
definition files for rendering pages or handler options.
EventHandlerException
public java.lang.String invoke(ConfigXMLReader.Event event, ConfigXMLReader.RequestMap requestMap, HttpServletRequest request, HttpServletResponse response) throws EventHandlerException
EventHandler
invoke
in interface EventHandler
event
- Contains information about what to executerequestMap
- Contains information about the request-map the event was called fromrequest
- The servlet request objectresponse
- The servlet response object
EventHandlerException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |