org.granite.tide.seam
Class TideDataPublishingInterceptor

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

@Interceptor(stateless=true,
             within=org.jboss.seam.transaction.TransactionInterceptor.class)
public class TideDataPublishingInterceptor
extends AbstractInterceptor

Seam interceptor to handle publishing of data changes instead of relying on the default behaviour This can be used outside of a HTTP Granite context and inside the security/transaction context

Author:
William DRAI
See Also:
Serialized Form

Constructor Summary
TideDataPublishingInterceptor()
           
 
Method Summary
 Object aroundInvoke(InvocationContext invocationContext)
           
 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

TideDataPublishingInterceptor

public TideDataPublishingInterceptor()
Method Detail

aroundInvoke

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

isInterceptorEnabled

public boolean isInterceptorEnabled()