org.sapia.regis.prevayler
Class PrevaylerRegistryFactory

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

public class PrevaylerRegistryFactory
extends java.lang.Object
implements RegistryFactory


Field Summary
static java.lang.String BASE_DIR
          This constant corresponds to the base directory where the registry's persistent state will be kept.
static java.lang.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 java.lang.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(java.util.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 java.lang.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 java.lang.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 java.lang.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(java.util.Properties props)
                 throws java.lang.Exception
Specified by:
connect in interface RegistryFactory
Parameters:
props - the Properties to used to connect to the desired Registry.
Returns:
a Registry.
Throws:
java.lang.Exception - if a problem occurs while attempting to connect.


Copyright © 2011 Sapia OSS. All Rights Reserved.