This decorator creates a transaction specific namespace under the {@code transactions/ This is so that every command created through the {@link GeogigTransaction transaction} used as a{@link Context}, as well as the transaction specific {@link Index} and {@link WorkingTree} , aregiven this instance of {@code RefDatabase} and can do its work without ever noticing its"running inside a transaction". For the command nothing changes. {@link TransactionRefDatabase#create() create()} shall be called before this decorator gets usedin order for the transaction refs namespace to be created and all original references copied in there, and {@link TransactionRefDatabase#close() close()} for the transaction refs namespace tobe deleted.
@see GeogigTransaction
@see TransactionBegin
@see TransactionEnd
|
|