Package org.apache.tapestry5.ioc.internal

## Class ReloadableObjectCreator

- java.lang.Object
- - org.apache.tapestry5.ioc.internal.AbstractReloadableObjectCreator
  - - org.apache.tapestry5.ioc.internal.ReloadableObjectCreator

- All Implemented Interfaces:
    `ObjectCreator`, `ClassLoaderDelegate`, `UpdateListener`

      public class ReloadableObjectCreator
      extends AbstractReloadableObjectCreator

  Reloadable object creator for non-service objects.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ReloadableObjectCreator​(PlasticProxyFactory proxyFactory, ClassLoader baseClassLoader, String implementationClassName, org.slf4j.Logger logger, OperationTracker tracker, ObjectLocator locator)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected Object` | `createInstance​(Class clazz)` | Invoked when an instance of the class is needed.

    - ### Methods inherited from class org.apache.tapestry5.ioc.internal.AbstractReloadableObjectCreator

      `checkForUpdates, createObject, doClassLoad, loadAndTransformClass, shouldInterceptClassLoading`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ReloadableObjectCreator

          public ReloadableObjectCreator​(PlasticProxyFactory proxyFactory,
                                         ClassLoader baseClassLoader,
                                         String implementationClassName,
                                         org.slf4j.Logger logger,
                                         OperationTracker tracker,
                                         ObjectLocator locator)

  - ### Method Detail

    - #### createInstance

          protected Object createInstance​(Class clazz)

      Description copied from class: `AbstractReloadableObjectCreator`
      Invoked when an instance of the class is needed. It is the responsibility of this method (as implemented in a subclass) to instantiate the class and inject dependencies into the class.
      Specified by:
        `createInstance` in class `AbstractReloadableObjectCreator`
      See Also:
        `InternalUtils.findAutobuildConstructor(Class)`