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, wait
delete, getChildren, getDescendants, getRegistryEntry, lookup, newResource, updateRegistryEntry, updateResource
protected final Properties properties
public Object getResource(Entry entry, Properties properties)
getResource
in interface Registry
entry
- The Entry instance that contains meta-dataproperties
- bag of properties with additional informationAbstractRegistry
public String getProviderClass()
Registry
getProviderClass
in interface Registry
public Properties getConfigurationProperties()
Registry
getConfigurationProperties
in interface Registry
public void init(Properties properties)
Registry
public Properties getResourceProperties(String entryKey)
Registry
getResourceProperties
in interface Registry
entryKey
- The registry entryCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.