net.sf.infrared.web.persistence
Class PerfPersistFactory

java.lang.Object
  extended bynet.sf.infrared.web.persistence.PerfPersistFactory

public class PerfPersistFactory
extends Object

The class returns the configured PersistenceProvider implementation. The configuration is specified in the web properties.


Field Summary
static int _DB_PERSIST
           
static int _FILE_PERSIST
           
 
Constructor Summary
PerfPersistFactory()
           
 
Method Summary
static PersistenceProvider getPersistor()
           
static void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_FILE_PERSIST

public static final int _FILE_PERSIST
See Also:
Constant Field Values

_DB_PERSIST

public static final int _DB_PERSIST
See Also:
Constant Field Values
Constructor Detail

PerfPersistFactory

public PerfPersistFactory()
Method Detail

getPersistor

public static PersistenceProvider getPersistor()
Returns:
a PersistenceProvider implementation based on the value of net.sf.infrared.persistence specified in infrared.web.properties.

reset

public static void reset()