|
RSE Release 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface should be implemented by any remote artifact that contains remote properties and (optionally) caches them.
| Method Summary | |
Object[] |
getProperties(String[] keys)
Returns the value of the properties with the given keys. |
Object |
getProperty(String key)
Returns the value of the property with the given key. |
boolean |
isPropertyStale(String key)
Returns whether the property with the given key is stale. |
void |
markAllPropertiesStale()
Marks all properties as stale. |
void |
markPropertyStale(String key)
Marks the property with the given key as stale. |
void |
setProperties(String[] keys,
Object[] values)
Sets the values of the properties with the given keys. |
void |
setProperty(String key,
Object value)
Sets the value of the property with the given key. |
| Method Detail |
public Object getProperty(String key)
key - the property key.
public Object[] getProperties(String[] keys)
keys - the property keys.
public void setProperty(String key,
Object value)
key - the property key.value - the value of the property.
public void setProperties(String[] keys,
Object[] values)
keys - the property keys.values - the corresponding values of the properties.public boolean isPropertyStale(String key)
key - the property key.
true if the property is stale, false otherwise.public void markPropertyStale(String key)
key - the property key.public void markAllPropertiesStale()
|
RSE Release 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||