public static final class LifecycleUtil.Delegator<T> extends Object implements InvocationHandler
Constructor and Description |
---|
LifecycleUtil.Delegator(T pojo,
ILifecycle delegate) |
Modifier and Type | Method and Description |
---|---|
Object |
invoke(Object proxy,
Method method,
Object[] args) |
static <T> T |
newProxy(ClassLoader loader,
T pojo,
Class<?> pojoInterface,
ILifecycle delegate) |
public LifecycleUtil.Delegator(T pojo, ILifecycle delegate)
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke
in interface InvocationHandler
Throwable
public static <T> T newProxy(ClassLoader loader, T pojo, Class<?> pojoInterface, ILifecycle delegate)
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.