public class AroundInvocationHandler<X,T> extends Object implements InvocationHandler
AroundInvocationHandler class.
Modifier and Type | Class and Description |
---|---|
static class |
AroundInvocationHandler.Invocation |
static interface |
AroundInvocationHandler.PostInvoke<C>
Can change return or throw, and consumes context object
|
static interface |
AroundInvocationHandler.PreInvoke<C>
Can change method and/or args or throw, returns a context object
|
Constructor and Description |
---|
AroundInvocationHandler(AroundInvocationHandler.PreInvoke<X> pre,
T proxied,
AroundInvocationHandler.PostInvoke<X> post)
Constructor for AroundInvocationHandler.
|
public AroundInvocationHandler(AroundInvocationHandler.PreInvoke<X> pre, T proxied, AroundInvocationHandler.PostInvoke<X> post)
Constructor for AroundInvocationHandler.
pre
- the pre-invocation handler, see
AroundInvocationHandler.PreInvoke
proxied
- the underlying object to wrap aroundpost
- the post-invocation handler, see
AroundInvocationHandler.PostInvoke
Copyright © 2018 earcam. All rights reserved.