|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry5.ioc.internal.services.ThunkCreatorImpl
public class ThunkCreatorImpl
Constructor Summary | |
---|---|
ThunkCreatorImpl(PlasticProxyFactory proxyFactory)
|
Method Summary | ||
---|---|---|
|
createThunk(java.lang.Class<T> proxyType,
ObjectCreator objectCreator,
java.lang.String description)
Creates a Thunk of the given proxy type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThunkCreatorImpl(@Builtin PlasticProxyFactory proxyFactory)
Method Detail |
---|
public <T> T createThunk(java.lang.Class<T> proxyType, ObjectCreator objectCreator, java.lang.String description)
ThunkCreator
createThunk
in interface ThunkCreator
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() method
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |