com.googlecode.mobilityrpc.session
Class ObjectSpace
java.lang.Object
com.googlecode.mobilityrpc.session.ObjectSpace
public class ObjectSpace
- extends Object
A class for mapping UUIDs to objects, such that an object with a given UUID can be retrieved later. This can
be useful to allow mobile objects to access other objects shared by the host application, or by other mobile objects.
- Author:
- Niall Gallagher
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectSpace
public ObjectSpace()
setUuidObject
public static <T> void setUuidObject(UUID uuid,
T object)
getUuidObject
public static <T> T getUuidObject(Class<T> expectedType,
UUID uuid)
Copyright © 2016. All rights reserved.