public class TextMethodWriterInvocationHandler extends AbstractMethodWriterInvocationHandler
genericEvent, recordHistory| Constructor and Description |
|---|
TextMethodWriterInvocationHandler(Class<?> tClass,
@NotNull Supplier<MarshallableOut> marshallableOutSupplier)
Constructor initializing the handler with a supplier for MarshallableOut.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
doInvoke(Object proxy,
Method method,
Object[] args) |
protected void |
handleInvoke(Method method,
Object[] args)
Abstract method to handle a method invocation with its respective arguments.
|
genericEvent, handleInvoke, recordHistory, useMethodIdsinvoke, onCloseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinvokepublic TextMethodWriterInvocationHandler(Class<?> tClass, @NotNull @NotNull Supplier<MarshallableOut> marshallableOutSupplier)
tClass - The class for which this invocation handler is being used.marshallableOutSupplier - The supplier providing instances of MarshallableOut for data serialization.protected Object doInvoke(Object proxy, Method method, Object[] args)
doInvoke in class AbstractMethodWriterInvocationHandlerprotected void handleInvoke(Method method, Object[] args)
AbstractMethodWriterInvocationHandlerhandleInvoke in class AbstractMethodWriterInvocationHandlermethod - The method being invoked.args - Arguments provided for the method invocation.Copyright © 2024. All rights reserved.