X-Git-Url: http://git.megacz.com/?p=org.ibex.xt.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2Fxt%2FPrevalence.java;h=5fb807cdf483fb4760147d931fdfbc90c68752f1;hp=2057f23dece314374e6db0bfa27a33f677a79edc;hb=1db99552ca93981bac63573aabd9ccf3a528c254;hpb=da7cc154ec697b179afd2aa5dc4c46771f21936e diff --git a/src/org/ibex/xt/Prevalence.java b/src/org/ibex/xt/Prevalence.java index 2057f23..5fb807c 100644 --- a/src/org/ibex/xt/Prevalence.java +++ b/src/org/ibex/xt/Prevalence.java @@ -1,3 +1,7 @@ +// Copyright 2000-2005 the Contributors, as shown in the revision logs. +// Licensed under the Apache Public Source License 2.0 ("the License"). +// You may not use this file except in compliance with the License. + package org.ibex.xt; import org.ibex.js.*; import org.ibex.util.*; @@ -46,7 +50,6 @@ public class Prevalence { String base = cx.getRealPath("/") + "WEB-INF" + File.separatorChar + "prevalent"; System.err.println("prevayling to " + base); pf.configurePrevalenceBase(base); - /* XStreamSnapshotManager manager = new XStreamSnapshotManager(new JS(), base, null) { protected XStream createXStream() { XStream xstream = new XStream(); @@ -57,8 +60,7 @@ public class Prevalence { }; System.err.println("configuring with " + manager); pf.configureSnapshotManager(manager); - */ - pf.configureSnapshotManager(new SnapshotManager(new JS(), base)); + //pf.configureSnapshotManager(new SnapshotManager(new JS(), base)); //pf.configureClassLoader(JSTransaction.class.getClassLoader()); prevayler = pf.create(); prevaylers.put(cx, prevayler);