Package io.vertigo.commons.transaction
Interface VTransactionResource
-
- All Superinterfaces:
AutoCloseable
public interface VTransactionResource extends AutoCloseable
This resource must be managed by a transaction. A transaction can have - at most one active resource (read/ write) - many readonly resources This resource is for example : - a data connaction to a 'classic' DB Oracle, Sybase, MySQL, postgreSQL.... - a mailer - a connection to a fileSystem- Author:
- pchretien
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
commit()
Commits the resource.void
rollback()
Rollbacks the respource.-
Methods inherited from interface java.lang.AutoCloseable
close
-
-