net.sourceforge.hivetranse.transaction
Class RollbackExceptionContribution
java.lang.Object
org.apache.hivemind.impl.BaseLocatable
net.sourceforge.hivetranse.transaction.RollbackExceptionContribution
- All Implemented Interfaces:
- org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder
public class RollbackExceptionContribution
- extends org.apache.hivemind.impl.BaseLocatable
Represents a configuration parameter to the Transaction Interceptor
configured for a service.
Each instance defines an exception class that, when thrown by a service
method, will have to rollback (or not) the current transaction.
- Author:
- Jean-Francois Poilpret
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 |
RollbackExceptionContribution
public RollbackExceptionContribution()
setException
public void setException(java.lang.Class clazz)
getException
public java.lang.Class getException()
setRollback
public void setRollback(boolean rollback)
getRollback
public boolean getRollback()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object