org.springframework.transaction.interceptor
Class El4jTransactionAttributeSourcePointcut

java.lang.Object
  extended by org.springframework.aop.support.StaticMethodMatcher
      extended by org.springframework.aop.support.StaticMethodMatcherPointcut
          extended by org.springframework.transaction.interceptor.El4jTransactionAttributeSourcePointcut
All Implemented Interfaces:
Serializable, MethodMatcher, Pointcut

public class El4jTransactionAttributeSourcePointcut
extends StaticMethodMatcherPointcut

Class to represent the transaction attribute source as a pointcut. This is used in aop spring xml config.

Author:
Martin Zeltner (MZE)
See Also:
Serialized Form
File-location:
El4jTransactionAttributeSourcePointcut
Last check-in date:
2010-12-21 11:08:04 +0100 (Di, 21. Dez 2010) by swismer for revision 4253

Field Summary
 
Fields inherited from interface org.springframework.aop.Pointcut
TRUE
 
Fields inherited from interface org.springframework.aop.MethodMatcher
TRUE
 
Constructor Summary
El4jTransactionAttributeSourcePointcut(TransactionInterceptor ti)
          Constructor, where the transaction interceptor is passed to support old transaction def style.
 
Method Summary
 boolean equals(Object arg0)
           
protected  TransactionAttributeSource getTransactionAttributeSource()
          
 int hashCode()
           
 boolean matches(Method arg0, Class arg1)
           
 String toString()
           
 
Methods inherited from class org.springframework.aop.support.StaticMethodMatcherPointcut
getClassFilter, getMethodMatcher, setClassFilter
 
Methods inherited from class org.springframework.aop.support.StaticMethodMatcher
isRuntime, matches
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

El4jTransactionAttributeSourcePointcut

public El4jTransactionAttributeSourcePointcut(TransactionInterceptor ti)
Constructor, where the transaction interceptor is passed to support old transaction def style.

Parameters:
ti - Is the transaction interceptor, where the transaction attribute source should be in there.
Method Detail

getTransactionAttributeSource

protected TransactionAttributeSource getTransactionAttributeSource()


matches

public boolean matches(Method arg0,
                       Class arg1)
Specified by:
matches in interface MethodMatcher

equals

public boolean equals(Object arg0)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2005-2011 ELCA. All Rights Reserved.