|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.mmbase.bridge.implementation.BasicCloud
|
+--org.mmbase.bridge.implementation.BasicTransaction
| Field Summary | |
protected java.lang.String |
transactionContext
The id of the transaction for use with the transaction manager. |
protected java.lang.String |
transactionName
The name of the transaction as used by the user. |
| Fields inherited from class org.mmbase.bridge.implementation.BasicCloud |
account, description, name, nodeManagerCache, parentCloud, transactions, userContext |
| Method Summary | |
void |
cancel()
Cancels this transaction. |
boolean |
commit()
Commits this transaction. |
protected void |
finalize()
If this Transaction is scheduled to be garbage collected, the transaction is canceled and cleaned up (unless it has already been committed/canceled, ofcourse, and unless the parentcloud of a transaction is a transaction itself... |
| Methods inherited from class org.mmbase.bridge.implementation.BasicCloud |
compareTo, createTransaction, createTransaction, createTransaction, equals, getByteSize, getByteSize, getCloudContext, getDescription, getList, getLocale, getName, getNode, getNode, getNodeByAlias, getNodeManager, getNodeManager, getNodeManagers, getRelation, getRelation, getRelationManager, getRelationManager, getRelationManager, getRelationManagers, getRelationManagers, getRelationManagers, getTransaction, getUser, hasNode, hasNode, hasNodeManager, hasRelation, hasRelation, hasRelationManager, hasRelationManager, mayRead, mayRead, setLocale |
| Methods inherited from class java.lang.Object |
clone, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.mmbase.bridge.Cloud |
createTransaction, createTransaction, createTransaction, getCloudContext, getDescription, getList, getLocale, getName, getNode, getNode, getNodeByAlias, getNodeManager, getNodeManager, getNodeManagers, getRelation, getRelation, getRelationManager, getRelationManager, getRelationManager, getRelationManagers, getRelationManagers, getRelationManagers, getTransaction, getUser, hasNode, hasNode, hasNodeManager, hasRelation, hasRelation, hasRelationManager, hasRelationManager, mayRead, mayRead, setLocale |
| Field Detail |
protected java.lang.String transactionContext
protected java.lang.String transactionName
| Method Detail |
public boolean commit()
Transactioncommit in interface Transactionorg.mmbase.bridge.Transactiontrue if the commit succeeded, false
otherwisepublic void cancel()
Transactioncancel in interface Transactionprotected void finalize()
finalize in class java.lang.Object
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||