public class ReloadableServiceImplementationObjectCreator extends AbstractReloadableObjectCreator
ObjectCreator
for lazily instantiating a given implementation class (with dependencies).
Once an instance is instantiated, it is cached ... until any underlying .class file changes, at which point
the class (and its class dependencies, such as base classes) are reloaded and a new instance instantiated.Constructor and Description |
---|
ReloadableServiceImplementationObjectCreator(PlasticProxyFactory proxyFactory,
ServiceBuilderResources resources,
ClassLoader baseClassLoader,
String implementationClassName) |
Modifier and Type | Method and Description |
---|---|
protected Object |
createInstance(Class clazz)
Invoked when an instance of the class is needed.
|
checkForUpdates, createObject, doClassLoad, loadAndTransformClass, shouldInterceptClassLoading
public ReloadableServiceImplementationObjectCreator(PlasticProxyFactory proxyFactory, ServiceBuilderResources resources, ClassLoader baseClassLoader, String implementationClassName)
protected Object createInstance(Class clazz)
AbstractReloadableObjectCreator
createInstance
in class AbstractReloadableObjectCreator
InternalUtils.findAutobuildConstructor(Class)
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.