org.loom.interceptor
Class EagerPropertyInterceptor

java.lang.Object
  extended by org.loom.interceptor.EagerPropertyInterceptor
All Implemented Interfaces:
CreateInterceptor, Interceptor

public class EagerPropertyInterceptor
extends java.lang.Object
implements CreateInterceptor

Assigns an eager property before the population phase


Constructor Summary
EagerPropertyInterceptor()
           
 
Method Summary
 void addPropertyPath(java.lang.String propertyPath)
           
 Resolution afterCreate(ParsedAction action)
           
 java.util.Set<java.lang.String> getProperties()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EagerPropertyInterceptor

public EagerPropertyInterceptor()
Method Detail

afterCreate

public Resolution afterCreate(ParsedAction action)
Specified by:
afterCreate in interface CreateInterceptor
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

addPropertyPath

public void addPropertyPath(java.lang.String propertyPath)

getProperties

public java.util.Set<java.lang.String> getProperties()