|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.commerce.registry.RegistryManager
The RegistryManager manages all the cached registries.
Field Summary | |
protected java.util.Hashtable |
registryMap
|
Constructor Summary | |
RegistryManager()
RegistryManager constructor. |
Method Summary | |
void |
addRegistry(java.lang.String aRegistryName,
Registry aRegistryObj)
Adds a registry. |
void |
deleteRegistry(java.lang.String aRegistryName)
Delete a registry . |
Registry |
getRegistry(java.lang.String aRegistryName)
Gets a registry. |
void |
initialize()
Initialize the registry manager. |
void |
initializeRegistryEntry(org.w3c.dom.Element node)
Initialize a registry entry. |
void |
initializeRegistryEntry(java.lang.String name,
Registry registry)
Initialize a registry entry. |
void |
initializeRegistryEntry(java.lang.String name,
java.lang.String className)
Initialize a registry entry. |
java.util.Enumeration |
list()
List the cache of all the registries maintained by the registry manager. |
void |
refresh(java.lang.String aRegistryName)
Refresh cache of the registry information. |
void |
refreshAll()
Refresh the cache of all registries. |
static RegistryManager |
singleton()
Returns a singleton object of the Registry Manager. |
void |
update(java.lang.String aRegistryName,
java.lang.String action,
java.lang.String key)
Update the cached information of a given registry element. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.Hashtable registryMap
Constructor Detail |
public RegistryManager()
Method Detail |
public void addRegistry(java.lang.String aRegistryName, Registry aRegistryObj)
registryName
- Stringregistry
- Registrypublic void deleteRegistry(java.lang.String aRegistryName)
registryName
- String - name of registry to be deletedpublic Registry getRegistry(java.lang.String aRegistryName)
registryName
- Stringpublic void initialize() throws java.lang.Exception
public void initializeRegistryEntry(org.w3c.dom.Element node) throws java.lang.Exception
node
- Element - a dom node that defines the registry to be initializedjava.lang.Exception
- public void initializeRegistryEntry(java.lang.String name, Registry registry) throws java.lang.Exception
name
- String - name of registryregistry
- Registry - the registry objectpublic void initializeRegistryEntry(java.lang.String name, java.lang.String className) throws java.lang.Exception
name
- String - name of registryclassName
- String - fully qualified class name for the registrypublic java.util.Enumeration list()
public void refresh(java.lang.String aRegistryName) throws java.lang.Exception
name
- String - name of registry to be refreshedpublic void refreshAll() throws java.lang.Exception
public static RegistryManager singleton()
public void update(java.lang.String aRegistryName, java.lang.String action, java.lang.String key) throws java.lang.Exception
name
- String - name of registry to be updatedaction
- String - action to be performed on the elementkey
- String - the key used to identify a particuler elementjava.lang.Exception
-
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |