public class ExecutionHandler
extends net.bolbat.utils.reflect.proxy.AdvisedHandler
| Constructor and Description |
|---|
ExecutionHandler(Object aTarget,
Class<?>[] aInterfaces)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
invoke(Object proxy,
Method method,
Object[] args) |
String |
resolveId(Object aInstance,
Method aMethod)
Resolve method unique identifier (use cache).
|
protected static ExecutionInfo |
resolveInstanceInfo(String instanceId,
Object instance)
Resolve (with lazy initialization)
ExecutionInfo for instance. |
protected static ExecutionInfo |
resolveInstanceMethodInfo(String instanceId,
Object instance,
String instanceMethodId,
Method method)
Resolve (with lazy initialization)
ExecutionInfo for method. |
void |
tearDown()
Tear down
ExecutionHandler internals. |
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
Throwablepublic String resolveId(Object aInstance, Method aMethod)
aInstance - instanceaMethod - instance methodStringprotected static ExecutionInfo resolveInstanceInfo(String instanceId, Object instance)
ExecutionInfo for instance.instanceId - instance execution identifierinstance - instanceExecutionInfoprotected static ExecutionInfo resolveInstanceMethodInfo(String instanceId, Object instance, String instanceMethodId, Method method)
ExecutionInfo for method.instanceId - instance execution identifierinstance - instanceinstanceMethodId - method execution identifiermethod - methodExecutionInfopublic void tearDown()
ExecutionHandler internals.Copyright © 2013–2019 BB Corp. All rights reserved.