Class MethodHandlerContext
java.lang.Object
tech.guilhermekaua.spigotboot.core.context.component.proxy.methodHandler.context.MethodHandlerContext
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionMethodHandlerContext(Object self, Method thisMethod, Method proceed, Object[] args) MethodHandlerContext(Object self, Method thisMethod, Method proceed, Object[] args, MethodHandlerContext.InvocationStep nextInvocation) -
Method Summary
-
Constructor Details
-
MethodHandlerContext
-
MethodHandlerContext
public MethodHandlerContext(Object self, Method thisMethod, Method proceed, Object[] args, MethodHandlerContext.InvocationStep nextInvocation)
-
-
Method Details
-
self
-
thisMethod
Deprecated.This accessor does not continue the handler chain. Handlers should callinvokeNext()to continue execution.Returns metadata about the intercepted method. -
proceed
Deprecated.This accessor does not continue the handler chain. Handlers should callinvokeNext()to continue execution.Returns metadata about the underlying invocation target method. -
args
-
invokeNext
Continue to the next matching handler in the chain. This is the continuation method handlers should call. If none remain, this invokes the underlying target method.- Returns:
- the return object of the next handler
- Throws:
Throwable
-