org.oddjob.framework
Class BaseWrapperFactory<T>

java.lang.Object
  extended by org.oddjob.framework.BaseWrapperFactory<T>
Type Parameters:
T - The WrapperFactory type.
All Implemented Interfaces:
WrapperFactory<T>

public abstract class BaseWrapperFactory<T>
extends Object
implements WrapperFactory<T>

Shared class definitions for Callable and Runnable wrappers.

Author:
rob

Constructor Summary
BaseWrapperFactory()
           
 
Method Summary
 Class<?>[] wrappingInterfacesFor(T wrapped)
          Get the Interfaces the wrapper adds to the component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.oddjob.framework.WrapperFactory
wrapperFor
 

Constructor Detail

BaseWrapperFactory

public BaseWrapperFactory()
Method Detail

wrappingInterfacesFor

public Class<?>[] wrappingInterfacesFor(T wrapped)
Description copied from interface: WrapperFactory
Get the Interfaces the wrapper adds to the component.

Specified by:
wrappingInterfacesFor in interface WrapperFactory<T>
Parameters:
wrapped - The component to be wrapped.
Returns: