org.jboss.aspects.versioned
Class VersionedObjectInterceptor

java.lang.Object
  extended by org.jboss.aspects.versioned.VersionedObjectInterceptor
All Implemented Interfaces:
org.jboss.aop.advice.Interceptor

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

This interceptor handles chooses an object to invoke on based on the transaction

Version:
$Revision: 1.2.2.3 $
Author:
Bill Burke

Field Summary
protected  org.jboss.logging.Logger log
          Logging instance
 
Constructor Summary
VersionedObjectInterceptor(TransactionManager tm)
           
 
Method Summary
 String getName()
           
 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

log

protected org.jboss.logging.Logger log
Logging instance

Constructor Detail

VersionedObjectInterceptor

public VersionedObjectInterceptor(TransactionManager tm)
Method Detail

getName

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

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.