Class ThunkCreatorImpl
- java.lang.Object
 - 
- org.apache.tapestry5.ioc.internal.services.ThunkCreatorImpl
 
 
- 
- All Implemented Interfaces:
 ThunkCreator
public class ThunkCreatorImpl extends Object implements ThunkCreator
 
- 
- 
Constructor Summary
Constructors Constructor Description ThunkCreatorImpl(PlasticProxyFactory proxyFactory) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> TcreateThunk(Class<T> proxyType, ObjectCreator objectCreator, String description)Creates a Thunk of the given proxy type. 
 - 
 
- 
- 
Constructor Detail
- 
ThunkCreatorImpl
public ThunkCreatorImpl(@Builtin PlasticProxyFactory proxyFactory)
 
 - 
 
- 
Method Detail
- 
createThunk
public <T> T createThunk(Class<T> proxyType, ObjectCreator objectCreator, String description)
Description copied from interface:ThunkCreatorCreates a Thunk of the given proxy type.- Specified by:
 createThunkin interfaceThunkCreator- Type Parameters:
 T- type of thunk- Parameters:
 proxyType- type of object to create (must be an interface)objectCreator- provides an instance of the same type on demand (may be invoked multiple times)description- to be returned from the thunk's toString() method- Returns:
 - thunk of given type
 
 
 - 
 
 -