EmmanuelOga / hypergraphdb

Automatically exported from code.google.com/p/hypergraphdb
1 stars 0 forks source link

Wrap p2p activity transitions in transactions #85

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be useful is activity implementors could annotate activity transition 
methods that they must be wrapped in a transaction:

@FromState("Started")
@OnMessage("QueryRef")
@Transaction("readonly")
public WorkflowState querySomeatoms(Json msg)
{
...
}

Since all transition methods are invoked in the activity manager, this is easy 
to do...

Original issue reported on code.google.com by borislav...@gmail.com on 1 Sep 2012 at 8:57

GoogleCodeExporter commented 9 years ago

Original comment by borislav...@gmail.com on 3 Sep 2012 at 12:28