org.sf.bluprints
Class EngineManager

java.lang.Object
  extended by org.sf.bluprints.EngineManager

public class EngineManager
extends Object

This class is a singleton manager that is configured via a properties file named bluprints.properties. This properties file can contain two entries that identifies the locations in the classpath of the bluprint xml configuration files and interval to reload them.

The name of the entry in the file that controls the location of the configuration files is bluprints.configuration.uris. The value is a comma separated list of URIs.

The name of the entry in the file that controls the number of seconds between reloads of the configuration files isbluprints.reload.seconds. The value is an integer value.

If there is no resource bundle, this defaults to using a single xml configuration file named /bluprints.xml and reload interval of 1 second.

Author:
Brian Pontarelli

Field Summary
static long DEFAULT_RELOAD_SECONDS
           
static String LOCATIONS
           
static String SECONDS
           
 
Method Summary
 Engine getEngine()
           
static EngineManager getManager()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_RELOAD_SECONDS

public static final long DEFAULT_RELOAD_SECONDS
See Also:
Constant Field Values

LOCATIONS

public static final String LOCATIONS
See Also:
Constant Field Values

SECONDS

public static final String SECONDS
See Also:
Constant Field Values
Method Detail

getManager

public static EngineManager getManager()

getEngine

public Engine getEngine()


"Copyright © 2002, Bluprints, Creative Commons License"