Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tapestry5.ioc.internal.services
Class ThunkCreatorImpl

    java.lang.Object
      org.apache.tapestry5.ioc.internal.services.ThunkCreatorImpl

All Implemented Interfaces:
  ThunkCreator

    public class ThunkCreatorImpl

extends java.lang.Object
implements ThunkCreator

Constructor Summary
`ThunkCreatorImpl(PlasticProxyFactory proxyFactory)`

Method Summary
`
`<T> T`
` | `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

### ThunkCreatorImpl

    public ThunkCreatorImpl(@Builtin
                            PlasticProxyFactory proxyFactory)

Method Detail

### createThunk

    public <T> T createThunk(java.lang.Class<T> proxyType,
                             ObjectCreator objectCreator,
                             java.lang.String description)

  Description copied from interface: `ThunkCreator`
  Creates a Thunk of the given proxy type.

  Specified by:
    `createThunk` in interface `ThunkCreator`
  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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.