|
BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This class defines the interfaces that are needed to maintain a local cache of entity properties. SmartBMP classes can uses this interface to add runtime properties from sources other than the the EntityPropertyManager
| Method Summary | |
void |
addCachedPropertyMapped(java.lang.String scope,
java.lang.String key,
java.lang.String mapKey,
java.lang.Object value)
Add the specified value to the cache in the case where the value is a map. |
void |
addCachedPropertyValue(java.lang.String scope,
java.lang.String key,
java.lang.Object value)
Add the specified value to the cache for a multivalued property. |
java.lang.Object |
getCachedProperty(java.lang.String scope,
java.lang.String key)
Retrieve the value associated with the scope and key from the object cache |
void |
removeCachedProperties()
Clear all the entries in the cache. |
void |
removeCachedProperties(java.lang.String scope)
Clear all entries in the cache for the specified scope. |
java.lang.Object |
removeCachedProperty(java.lang.String scope,
java.lang.String key)
Retrieve the value associated with the key from the object cache. |
java.lang.Object |
removeCachedPropertyMapped(java.lang.String scope,
java.lang.String key,
java.lang.String mapKey)
Remove the value at the specified key from a named property that represents a map. |
void |
removeCachedPropertyValue(java.lang.String scope,
java.lang.String key,
java.lang.Object value)
Add the specified value to the cache. |
void |
setCachedProperty(java.lang.String scope,
java.lang.String key,
java.lang.Object value)
Add the specified value to the cache. |
| Method Detail |
public void setCachedProperty(java.lang.String scope,
java.lang.String key,
java.lang.Object value)
throws ApplicationException,
java.rmi.RemoteException
scope - key - value - java.lang.Object the value to be set.
public java.lang.Object getCachedProperty(java.lang.String scope,
java.lang.String key)
throws ApplicationException,
java.rmi.RemoteException
scope - key -
public java.lang.Object removeCachedProperty(java.lang.String scope,
java.lang.String key)
throws ApplicationException,
java.rmi.RemoteException
scope - key -
public void addCachedPropertyValue(java.lang.String scope,
java.lang.String key,
java.lang.Object value)
throws ApplicationException,
java.rmi.RemoteException
scope - key - value - java.lang.Object the value to be set.
public void removeCachedPropertyValue(java.lang.String scope,
java.lang.String key,
java.lang.Object value)
throws ApplicationException,
java.rmi.RemoteException
scope - key - value - java.lang.Object the value to be set.
public void addCachedPropertyMapped(java.lang.String scope,
java.lang.String key,
java.lang.String mapKey,
java.lang.Object value)
throws ApplicationException,
java.rmi.RemoteException
scope - key - mapKey - The key into which the property will be mappedvalue - The value to be set.
public java.lang.Object removeCachedPropertyMapped(java.lang.String scope,
java.lang.String key,
java.lang.String mapKey)
throws ApplicationException,
java.rmi.RemoteException
scope - key - mapKey - The key into which the property will be mapped
public void removeCachedProperties(java.lang.String scope)
throws ApplicationException,
java.rmi.RemoteException
scope - the scope for which properties are to be removed.
public void removeCachedProperties()
throws ApplicationException,
java.rmi.RemoteException
scope - the scope for which properties are to be removed.
|
BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||