org.granite.tide.seam
Class TideInterceptor

java.lang.Object
  extended by org.jboss.seam.intercept.AbstractInterceptor
      extended by org.granite.tide.seam.TideInterceptor
All Implemented Interfaces:
Serializable, OptimizedInterceptor

@Interceptor(around={org.jboss.seam.core.BijectionInterceptor.class,org.jboss.seam.core.EventInterceptor.class,org.jboss.seam.bpm.BusinessProcessInterceptor.class})
public class TideInterceptor
extends AbstractInterceptor

This interceptor has 4 activities : - Updating the context with data received from the Flex client, remerging client data in the persistence context when needed - Intercept outjected values to return it to the client - Determine the Persistence Context being used for the conversation and creating a lazyinitializer storing it in the current conversation - Return all changed values to the client

Author:
Venkat DANDA, Cameron INGRAM, William DRAI
See Also:
Serialized Form

Constructor Summary
TideInterceptor()
           
 
Method Summary
 Object aroundInvoke(InvocationContext invocation)
           
 boolean isInterceptorEnabled()
           
 
Methods inherited from class org.jboss.seam.intercept.AbstractInterceptor
getComponent, setComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TideInterceptor

public TideInterceptor()
Method Detail

aroundInvoke

@AroundInvoke
public Object aroundInvoke(InvocationContext invocation)
                    throws Exception
Throws:
Exception

isInterceptorEnabled

public boolean isInterceptorEnabled()