com.interface21.transaction.interceptor
Interface TransactionAttributeSource

All Known Implementing Classes:
AttributeRegistryTransactionAttributeSource, MapTransactionAttributeSource

public interface TransactionAttributeSource

Interface used by TransactionInterceptor. Implementations know how to source transaction attributes, whether from metadata attributes at source level (the default) or anywhere else.

Since:
15-Apr-2003
Version:
$Id: TransactionAttributeSource.java,v 1.1 2003/06/13 13:40:39 jhoeller Exp $
Author:
Rod Johnson

Method Summary
 TransactionAttribute getTransactionAttribute(org.aopalliance.MethodInvocation invocation)
          Return the transaction attribute for this method.
 

Method Detail

getTransactionAttribute

public TransactionAttribute getTransactionAttribute(org.aopalliance.MethodInvocation invocation)
Return the transaction attribute for this method. Return null if the method is non-transactional.
Parameters:
clazz - class we're interested in. May not be the same as the declaring class of the method. May not be null.
m - Method we're interested in. May not be null.
Returns:
TransactionAttribute transaction attribute or null.


Rod Johnson and Spring contributors 2001-2003.