Class ProxyUtils.Handler
java.lang.Object
io.github.blyznytsiaorg.bibernate.utils.ProxyUtils.Handler
- All Implemented Interfaces:
javassist.util.proxy.MethodHandler
- Enclosing class:
ProxyUtils
Handler class implementing MethodHandler for proxy invocation.
-
Field Details
-
supplier
-
internalObject
-
-
Constructor Details
-
Handler
public Handler()
-
-
Method Details
-
invoke
public Object invoke(Object self, Method thisMethod, Method proceed, Object[] args) throws Throwable Invokes the method on the proxy object and delegates to the actual object.- Specified by:
invokein interfacejavassist.util.proxy.MethodHandler- Parameters:
self- The proxy objectthisMethod- The method being invoked on the proxyproceed- The proceed methodargs- The arguments for the method invocation- Returns:
- The result of the method invocation on the actual object
- Throws:
Throwable
-