|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface enables an application to access the cache of a remote application.
Method Summary | |
java.lang.Object[] |
getAllObjects()
This method gives access to the full content of the cache. |
java.lang.Object[] |
getAllObjects(java.lang.Class type)
This method gives the same result as the getAllObjects method but the objects in the result array are types with the parameter type. |
java.lang.Object |
getObject(java.lang.Object key)
Gives access to an object registered in the cache. |
Method Detail |
public java.lang.Object getObject(java.lang.Object key) throws java.rmi.RemoteException
key
- the key associated to the desired object.
java.rmi.RemoteException
- if an error occurs during the remote call.public java.lang.Object[] getAllObjects() throws java.rmi.RemoteException
java.rmi.RemoteException
- if an error occurs during the remote call.public java.lang.Object[] getAllObjects(java.lang.Class type) throws java.rmi.RemoteException
type
- the class of the desired objects.
java.rmi.RemoteException
- if an error occurs during the remote call.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |