private Class clazz;
private T proxy;
- /**
- * Constructs the factory.
- *
- * @param aClass
- * Interface class of the service to proxy.
- */
- public SerializableProxyFactory(Class<T> aClass) {
- this(aClass, null);
- }
-
/**
* Constructs the factory with a callback to create thread-specific objects
* automatically.
}
/**
- * Gets the proxy that delegates to the thread-specific instance set by
- * {@link #set(Object)}
+ * Gets the serializable proxy that delegates to the object passed in the constructor.
*
* @return Proxy.
*/