public class AopProxy
extends java.lang.Object
Constructor and Description |
---|
AopProxy() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
newProxyInstance(java.lang.ClassLoader classloader,
java.lang.reflect.InvocationHandler invocationHandler,
java.lang.Class<?>... interfaces)
Simple wrapper for javas
newProxyInstance . |
static <T> T |
proxyOf(Aspect aspect)
Creates a proxy from given
Aspect . |
static <T> T |
proxyOf(T target,
java.lang.Class<? extends Aspect> aspectClass)
Creates a proxy of given target and the aspect.
|
public static <T> T proxyOf(T target, java.lang.Class<? extends Aspect> aspectClass)
public static <T> T newProxyInstance(java.lang.ClassLoader classloader, java.lang.reflect.InvocationHandler invocationHandler, java.lang.Class<?>... interfaces)
newProxyInstance
.Copyright © 2003-present Jodd Team