Package com.googlecode.objectify.util
Class ResultProxy<T>
- java.lang.Object
-
- com.googlecode.objectify.util.ResultProxy<T>
-
- All Implemented Interfaces:
Serializable
,InvocationHandler
public class ResultProxy<T> extends Object implements InvocationHandler, Serializable
A dynamic proxy that wraps a Result> value. For example, if you had a Result- >, the
proxy would implement List
and call through to the inner object. - See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResultProxy()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <S> S
create(Class<? super S> interf, Result<S> result)
Create a ResultProxy for the given interface.Object
invoke(Object obj, Method meth, Object[] params)
-