public class BinaryMethodWriterInvocationHandler extends AbstractMethodWriterInvocationHandler
genericEvent, recordHistory| Constructor and Description |
|---|
BinaryMethodWriterInvocationHandler(Class<?> tClass,
boolean metaData,
Supplier<MarshallableOut> marshallableOutSupplier)
Constructor that initializes the handler using the given class, metadata flag and a supplier of 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.
|
boolean |
metaData()
Gets the current metadata setting for this handler.
|
genericEvent, handleInvoke, recordHistory, useMethodIdsinvoke, onCloseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinvokepublic BinaryMethodWriterInvocationHandler(Class<?> tClass, boolean metaData, Supplier<MarshallableOut> marshallableOutSupplier)
tClass - The class type associated with this handler.metaData - Flag to determine if metadata is to be written.marshallableOutSupplier - The supplier providing instances of MarshallableOut.protected Object doInvoke(Object proxy, Method method, Object[] args)
doInvoke in class AbstractMethodWriterInvocationHandlerpublic boolean metaData()
true if metadata is enabled, false otherwise.protected 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.