org.identityconnectors.framework.impl.api
Class DelegatingTimeoutProxy

java.lang.Object
  extended by 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.


Constructor Summary
DelegatingTimeoutProxy(Object target, long timeoutMillis, int bufferSize)
          Create a new MethodTimeoutProxy
 
Method Summary
 Object invoke(Object proxy, Method method, Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegatingTimeoutProxy

public DelegatingTimeoutProxy(Object target,
                              long timeoutMillis,
                              int bufferSize)
Create a new MethodTimeoutProxy

Parameters:
target - The object we are wrapping
timeoutMillis -
Method Detail

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.