public abstract class AbstractRegistry extends Object implements Registry
| Modifier and Type | Field and Description |
|---|---|
protected Properties |
properties
The list of configuration properties
|
| Constructor and Description |
|---|
AbstractRegistry() |
| Modifier and Type | Method and Description |
|---|---|
Properties |
getConfigurationProperties()
Return the list of configuration properties set on this instance
|
String |
getProviderClass()
Return the name of the implementation class
|
Object |
getResource(Entry entry,
Properties properties)
Get the resource for the given key from this registry
|
Properties |
getResourceProperties(String entryKey)
Get the resource properties of a given resource
|
void |
init(Properties properties)
Initializes the registry with given properties
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdelete, getChildren, getDescendants, getRegistryEntry, lookup, newResource, updateRegistryEntry, updateResourceprotected final Properties properties
public Object getResource(Entry entry, Properties properties)
getResource in interface Registryentry - The Entry instance that contains meta-dataproperties - bag of properties with additional informationAbstractRegistrypublic String getProviderClass()
RegistrygetProviderClass in interface Registrypublic Properties getConfigurationProperties()
RegistrygetConfigurationProperties in interface Registrypublic void init(Properties properties)
Registrypublic Properties getResourceProperties(String entryKey)
RegistrygetResourceProperties in interface RegistryentryKey - The registry entryCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.