org.oddjob.framework
Class CallableProxyGenerator

java.lang.Object
  extended by org.oddjob.framework.ProxyGenerator<Callable<?>>
      extended by org.oddjob.framework.CallableProxyGenerator

public class CallableProxyGenerator
extends ProxyGenerator<Callable<?>>

Generate an Oddjob proxy for a Callable.

Author:
rob

Constructor Summary
CallableProxyGenerator()
           
 
Method Summary
 Object generate(Callable<?> callable, ClassLoader classLoader)
          Generate the proxy.
 
Methods inherited from class org.oddjob.framework.ProxyGenerator
generate, interfacesFor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallableProxyGenerator

public CallableProxyGenerator()
Method Detail

generate

public Object generate(Callable<?> callable,
                       ClassLoader classLoader)
Generate the proxy.

Parameters:
callable -
classLoader -
Returns:
A proxy.