This is an interface for extending a Registry to support update to individual element in the registry
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
Method Summary | |
---|---|
java.lang.Object |
createKey(java.lang.String strKey) Creates a cache key from the string representation of the key. |
java.lang.String |
createKeyString(
TypedProperty prop) Creates a string representation of a cache key based on the input properties. |
java.lang.Object |
getElement(java.lang.Object key) Gets the element to be refreshed from the cache. |
void |
update(java.lang.String action, java.lang.Object key)
Updates an element in the registry. |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Method Detail |
---|
public void update(java.lang.String action, java.lang.Object key) throws java.lang.Exception
action
- The action to be applied to the cached elementkey
- The cache keyjava.lang.Exception
public java.lang.String createKeyString(TypedProperty prop) throws java.lang.Exception
prop
- The input propertiesjava.lang.Exception
public java.lang.Object createKey(java.lang.String strKey) throws java.lang.Exception
java.lang.Exception
public java.lang.Object getElement(java.lang.Object key)
key
- The cache key for the element