com.wideplay.warp.persist.spi
Class TransactionMatcher

java.lang.Object
  extended by com.wideplay.warp.persist.spi.TransactionMatcher

public class TransactionMatcher
extends Object

Transaction matcher configuration, represents one call to TransactionStrategyBuilder.forAll(com.google.inject.matcher.Matcher, com.google.inject.matcher.Matcher).


Constructor Summary
TransactionMatcher()
          Creates a TransactionMatcher with default class and method matcher.
TransactionMatcher(com.google.inject.matcher.Matcher<? super Class<?>> txClassMatcher)
          Creates a TransactionMatcher with given class matcher and default method matcher.
TransactionMatcher(com.google.inject.matcher.Matcher<? super Class<?>> txClassMatcher, com.google.inject.matcher.Matcher<? super Method> txMethodMatcher)
          Creates a TransactionMatcher with given class and method matcher.
 
Method Summary
 com.google.inject.matcher.Matcher<? super Class<?>> getClassMatcher()
           
 com.google.inject.matcher.Matcher<? super Method> getMethodMatcher()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionMatcher

public TransactionMatcher()
Creates a TransactionMatcher with default class and method matcher.

See Also:
Defaults

TransactionMatcher

public TransactionMatcher(com.google.inject.matcher.Matcher<? super Class<?>> txClassMatcher)
Creates a TransactionMatcher with given class matcher and default method matcher.

Parameters:
txClassMatcher - the class matcher

TransactionMatcher

public TransactionMatcher(com.google.inject.matcher.Matcher<? super Class<?>> txClassMatcher,
                          com.google.inject.matcher.Matcher<? super Method> txMethodMatcher)
Creates a TransactionMatcher with given class and method matcher.

Parameters:
txClassMatcher - the class matcher
txMethodMatcher - the method matcher
Method Detail

getClassMatcher

public com.google.inject.matcher.Matcher<? super Class<?>> getClassMatcher()

getMethodMatcher

public com.google.inject.matcher.Matcher<? super Method> getMethodMatcher()