Depends on the context. In the context of objects, it should work as it is: the proxy should be injected through constructor. Entities that don't have constructor and should be proxies can be created by use of Objenesis/Unsafe.