org.sapia.regis.cache
Class CacheRegistryFactory
java.lang.Object
org.sapia.regis.cache.CacheRegistryFactory
- All Implemented Interfaces:
- RegistryFactory
public class CacheRegistryFactory
- extends Object
- implements RegistryFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FACTORY_CLASS
public static final String FACTORY_CLASS
- This constant corresponds to the property indicating the name of the registry
factory class to wrap for caching.
- See Also:
- Constant Field Values
REFRESH_INTERVAL
public static final String REFRESH_INTERVAL
- This constant corresponds to the property indicating the cache refresh
interval, in seconds.
- See Also:
- Constant Field Values
DEFAULT_REFRESH_INTERVAL
public static final int DEFAULT_REFRESH_INTERVAL
- See Also:
- Constant Field Values
CacheRegistryFactory
public CacheRegistryFactory()
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.