org.loom.interceptor
Class MethodInterceptor.BeforeExecute

java.lang.Object
  extended by org.loom.interceptor.MethodInterceptor
      extended by org.loom.interceptor.MethodInterceptor.BeforeExecute
All Implemented Interfaces:
ExecuteInterceptor, Interceptor
Enclosing class:
MethodInterceptor

public static class MethodInterceptor.BeforeExecute
extends MethodInterceptor
implements ExecuteInterceptor


Nested Class Summary
 
Nested classes/interfaces inherited from class org.loom.interceptor.MethodInterceptor
MethodInterceptor.AfterCreate, MethodInterceptor.BeforeExecute, MethodInterceptor.BeforePopulate, MethodInterceptor.BeforeValidate, MethodInterceptor.DoFinally, MethodInterceptor.OnError
 
Constructor Summary
MethodInterceptor.BeforeExecute()
           
 
Method Summary
 Resolution beforeExecute(ParsedAction action)
           
 
Methods inherited from class org.loom.interceptor.MethodInterceptor
getInstance, invoke, setMethod, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodInterceptor.BeforeExecute

public MethodInterceptor.BeforeExecute()
Method Detail

beforeExecute

public Resolution beforeExecute(ParsedAction action)
Specified by:
beforeExecute in interface ExecuteInterceptor
Parameters:
action - the action and event that is being executed
Returns:
if return value != null, stops the execution of the workflow and return the provided resolution