net.sourceforge.hivetranse.transaction
Class TransactionContribution

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by net.sourceforge.hivetranse.transaction.TransactionContribution
All Implemented Interfaces:
org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder

public class TransactionContribution
extends org.apache.hivemind.impl.BaseLocatable

Represents a configuration parameter to the Transaction Interceptor configured for a service. Each instance defines a transaction demarcation to be applied to a list of methods (defined by a pattern) of the service.

Author:
Jean-Francois Poilpret

Constructor Summary
TransactionContribution()
           
 
Method Summary
 TransactionDemarcation getDemarcation()
           
 java.lang.String getPattern()
           
 void setDemarcation(TransactionDemarcation demarcation)
           
 void setPattern(java.lang.String string)
           
 java.lang.String toString()
           
 
Methods inherited from class org.apache.hivemind.impl.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransactionContribution

public TransactionContribution()
Method Detail

setDemarcation

public void setDemarcation(TransactionDemarcation demarcation)

getDemarcation

public TransactionDemarcation getDemarcation()

setPattern

public void setPattern(java.lang.String string)

getPattern

public java.lang.String getPattern()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object