Class ByteBuddyProxyFactory

java.lang.Object
dev.restate.bytebuddy.proxysupport.ByteBuddyProxyFactory
All Implemented Interfaces:
ProxyFactory

public final class ByteBuddyProxyFactory extends Object implements ProxyFactory
ByteBuddy-based proxy factory that supports both interfaces and concrete classes. This implementation can create proxies for any class that is not final. Uses Objenesis to instantiate objects without calling constructors, which allows proxying classes that don't have a no-arg constructor. Uses TypeCache to cache generated proxy classes for better performance (thread-safe).