rewrote the state management, tx system still to rewrite
This commit is contained in:
parent
3e703a53ab
commit
8586110449
17 changed files with 2511 additions and 2450 deletions
|
|
@ -196,9 +196,9 @@ interface Stateful {
|
|||
public String getState(String key);
|
||||
}
|
||||
|
||||
@stateful // TODO: make it possible to add @stateful to interface not impl class
|
||||
class StatefulImpl implements Stateful {
|
||||
@Inject private TransientObjectState state;
|
||||
@state private TransientObjectState state = new TransientObjectState();
|
||||
|
||||
public String getState(String key) {
|
||||
return (String)state.get(key);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue