public class ThunkCreatorImpl extends Object implements ThunkCreator
| Constructor and Description |
|---|
ThunkCreatorImpl(PlasticProxyFactory proxyFactory) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
createThunk(Class<T> proxyType,
ObjectCreator objectCreator,
String description)
Creates a Thunk of the given proxy type.
|
public ThunkCreatorImpl(@Builtin PlasticProxyFactory proxyFactory)
public <T> T createThunk(Class<T> proxyType, ObjectCreator objectCreator, String description)
ThunkCreatorcreateThunk in interface ThunkCreatorT - type of thunkproxyType - 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() method5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.