org.identityconnectors.framework.impl.api
Class DelegatingTimeoutProxy
java.lang.Object
org.identityconnectors.framework.impl.api.DelegatingTimeoutProxy
- All Implemented Interfaces:
- InvocationHandler
public class DelegatingTimeoutProxy
- extends Object
- implements InvocationHandler
Delegating timeout proxy that selects the appropriate timeout handler
depending on the method.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelegatingTimeoutProxy
public DelegatingTimeoutProxy(Object target,
long timeoutMillis,
int bufferSize)
- Create a new MethodTimeoutProxy
- Parameters:
target - The object we are wrappingtimeoutMillis -
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke in interface InvocationHandler
- Throws:
Throwable
Copyright © 2011. All Rights Reserved.