Mercurial > hg > blitz_condensed
comparison src/org/dancres/blitz/notify/EventGeneratorState.java @ 0:3dc0c5604566
Initial checkin of blitz 2.0 fcs - no installer yet.
author | Dan Creswell <dan.creswell@gmail.com> |
---|---|
date | Sat, 21 Mar 2009 11:00:06 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:3dc0c5604566 |
---|---|
1 package org.dancres.blitz.notify; | |
2 | |
3 import java.io.Serializable; | |
4 | |
5 import org.dancres.blitz.txn.TxnId; | |
6 | |
7 import org.dancres.blitz.oid.OID; | |
8 | |
9 /** | |
10 Used to contain a Memento (see GOF) of an EventGenerator which can be | |
11 saved to/loaded from disk. This is basically an opaque type with one | |
12 method which can be used to restore an EventGenerator from the state. | |
13 */ | |
14 public interface EventGeneratorState extends Serializable { | |
15 public EventGenerator getGenerator(); | |
16 public boolean isPersistent(); | |
17 public OID getOID(); | |
18 } |