Package com.ibm.ima.plugin
Interface ImaTransaction
public interface ImaTransaction
The ImaSubscription object is created using the newSubscription() method of ImaConnection.
The configuration of the subscription is read only, and the only actions which can be taken
on the subscription are subscribe() and close(). A subscription object is tied to a
connection.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidcommit()Commit the transaction.Get the connection associated with a transaction.Get the transaction listerner associated with a transaction.booleaninUse()booleanisValid()Check if the transaction is fully created.voidrollback()Rollback the transaction.
-
Field Details
-
COPYRIGHT
- See Also:
-
-
Method Details
-
getConnection
ImaConnection getConnection()Get the connection associated with a transaction.- Returns:
- The connection object
-
getTransactionListener
ImaTransactionListener getTransactionListener()Get the transaction listerner associated with a transaction.- Returns:
- The transaction listener object
-
commit
void commit()Commit the transaction. All messages sent from this transaction are made available to receivers. -
rollback
void rollback()Rollback the transaction. All changed made from this transaction are undone. -
inUse
boolean inUse() -
isValid
boolean isValid()Check if the transaction is fully created.- Returns:
- ture if the transaction is completely created.
-