ch.elca.el4j.util.socketstatistics
Class ReflectiveDelegator.DelegatorMethodFinder
java.lang.Object
ch.elca.el4j.util.socketstatistics.ReflectiveDelegator.DelegatorMethodFinder
- Enclosing class:
- ReflectiveDelegator
public class ReflectiveDelegator.DelegatorMethodFinder
- extends Object
Internal class for explicitly defined method calls using delegateTo.
Method Summary |
|
invoke(Object... parameters)
Method for invocation on delegated class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReflectiveDelegator.DelegatorMethodFinder
public ReflectiveDelegator.DelegatorMethodFinder(String methodName,
Class<?>... parameterTypes)
- Constructor.
- Parameters:
methodName
- name of the method to find for delegated callparameterTypes
- signature of method to be called
invoke
public <T> T invoke(Object... parameters)
- Method for invocation on delegated class.
- Type Parameters:
T
- generic return type- Parameters:
parameters
- arguments to be passed to the original method
- Returns:
- return value of original method
Copyright © 2005-2011 ELCA. All Rights Reserved.