public interface ThunkCreator
ObjectProvider
. This is used by LazyAdvisor
to build lazy thunk proxies.Modifier and Type | Method and Description |
---|---|
<T> T |
createThunk(Class<T> proxyType,
ObjectCreator objectCreator,
String description)
Creates a Thunk of the given proxy type.
|
<T> T createThunk(Class<T> proxyType, ObjectCreator objectCreator, String description)
T
- 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.3 - Copyright © 2003-2021 The Apache Software Foundation.