01: package org.romaframework.core.command;
02:
03: import org.romaframework.aspect.persistence.PersistenceAspect;
04:
05: public class TransactionalCommandContext extends CommandContext {
06: public TransactionalCommandContext(long id) {
07: super (id);
08: }
09:
10: public TransactionalCommandContext() {
11: super ();
12: }
13:
14: private transient PersistenceAspect db;
15:
16: public PersistenceAspect getDb() {
17: return db;
18: }
19:
20: public void setDb(PersistenceAspect db) {
21: this.db = db;
22: }
23: }
|