public static interface Transaction.State
The commit and rollback methods will be called as required. The intension is that several DataStores can share common transaction state (example: Postgis DataStores sharing a connection to the same database).
org.geotools.data
Modifier and Type | Method and Description |
---|---|
void |
addAuthorization(String AuthID)
Call back used for Transaction.setAuthorization()
|
void |
commit()
Call back used for Transaction.commit()
|
void |
rollback()
Call back used for Transaction.rollback()
|
void |
setTransaction(Transaction transaction)
Provides configuration information for Transaction.State
setTransaction is called with non null
transaction when Transaction.State
is putState into a Transaction. |
void setTransaction(Transaction transaction)
setTransaction is called with non null transaction
when Transaction.State
is putState
into a Transaction. This tranasction will be used to determine
correct event notification.
setTransaction is called with null
when removeState is called (usually
during Transaction.close() ).
transaction
- void addAuthorization(String AuthID) throws IOException
IOException
void commit() throws IOException
IOException
void rollback() throws IOException
IOException
Copyright © 1996–2019 Geotools. All rights reserved.