private final long secret;
private MailingList(Address a, Mailbox ar, long s) { this.address=a; this.archive=ar; this.secret=s; }
- public Hashtable subscribers = new Hashtable();
+ public Hashtable subscribers = new Hashtable();
public Filter[] filters = new Filter[0];
public String homepage = "";
public static final String ROOT = System.getProperty("ibex.mail.list.root", Mailbox.STORAGE_ROOT+File.separatorChar+"lists");
public static Prevayler p;
- static { try { p = PrevaylerFactory.createPrevayler(new Hashtable(), ROOT); }
- catch (Exception e) { Log.error(MailingList.class, e); } }
+ static { try {
+ PrevaylerFactory pf = new PrevaylerFactory();
+ //pf.configureSnapshotManager(new org.prevayler.implementation.snapshot.XmlSnapshotManager(new Hashtable(), ROOT));
+ pf.configurePrevalenceBase(ROOT);
+ p = pf.create();
+ } catch (Exception e) { Log.error(MailingList.class, e); } }
public static Transaction subscribeNewUser(final Address user, final String list) {
return new Transaction() { public void executeOn(final Object o, final Date now) {