public static final class LifecycleUtil.Delegator<T> extends Object implements InvocationHandler
Constructor and Description |
---|
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 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) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html