Interface LocalResource
-
@ConsumerType public interface LocalResource
Resources that can integrate with local transactions should do so using this interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
commit()
Commit the resourcevoid
rollback()
Roll back the resource
-
-
-
Method Detail
-
commit
void commit() throws TransactionException
Commit the resource- Throws:
TransactionException
-
rollback
void rollback() throws TransactionException
Roll back the resource- Throws:
TransactionException
-
-