org.jboss.ejb3.entity
Class FlushModeInterceptor

java.lang.Object
  extended by org.jboss.ejb3.entity.FlushModeInterceptor
All Implemented Interfaces:
org.jboss.aop.advice.Interceptor

public class FlushModeInterceptor
extends Object
implements org.jboss.aop.advice.Interceptor

comment

Author:
Bill Burke

Field Summary
protected static ThreadLocal flushMode
           
protected static org.jboss.tm.TransactionLocal txFlushMode
           
 
Constructor Summary
FlushModeInterceptor(javax.persistence.FlushModeType mode)
           
 
Method Summary
static javax.persistence.FlushModeType getFlushMode()
           
 String getName()
           
static javax.persistence.FlushModeType getTxFlushMode()
           
 Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

flushMode

protected static ThreadLocal flushMode

txFlushMode

protected static org.jboss.tm.TransactionLocal txFlushMode
Constructor Detail

FlushModeInterceptor

public FlushModeInterceptor(javax.persistence.FlushModeType mode)
Method Detail

getName

public String getName()
Specified by:
getName in interface org.jboss.aop.advice.Interceptor

getFlushMode

public static javax.persistence.FlushModeType getFlushMode()

getTxFlushMode

public static javax.persistence.FlushModeType getTxFlushMode()

invoke

public Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
              throws Throwable
Specified by:
invoke in interface org.jboss.aop.advice.Interceptor
Throws:
Throwable


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.