org.sapia.regis.prevayler
Class PrevaylerRegistryFactory

java.lang.Object
  extended by org.sapia.regis.prevayler.PrevaylerRegistryFactory
All Implemented Interfaces:
RegistryFactory

public class PrevaylerRegistryFactory
extends Object
implements RegistryFactory


Field Summary
static String BASE_DIR
          This constant corresponds to the base directory where the registry's persistent state will be kept.
static String DEFAULT_BASE_DIR
          This corresponds to the default base directory of the registry's persistent state (the directory is ${user.home}/.sapia_regis_prevayler).
static String DELETE_ON_STARTUP
          This constant indicates if the content of the registry's persistent directory should be deleted at startup.
 
Constructor Summary
PrevaylerRegistryFactory()
           
 
Method Summary
 Registry connect(Properties props)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BASE_DIR

public static final String BASE_DIR
This constant corresponds to the base directory where the registry's persistent state will be kept.

See Also:
Constant Field Values

DELETE_ON_STARTUP

public static final String DELETE_ON_STARTUP
This constant indicates if the content of the registry's persistent directory should be deleted at startup.

See Also:
Constant Field Values

DEFAULT_BASE_DIR

public static final String DEFAULT_BASE_DIR
This corresponds to the default base directory of the registry's persistent state (the directory is ${user.home}/.sapia_regis_prevayler).

Constructor Detail

PrevaylerRegistryFactory

public PrevaylerRegistryFactory()
Method Detail

connect

public Registry connect(Properties props)
                 throws Exception
Specified by:
connect in interface RegistryFactory
Parameters:
props - the Properties to used to connect to the desired Registry.
Returns:
a Registry.
Throws:
Exception - if a problem occurs while attempting to connect.


Copyright © 2006 Sapia Open Community, Inc. All Rights Reserved.