|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.ioc.internal.AbstractReloadableObjectCreator
public abstract class AbstractReloadableObjectCreator
| Constructor Summary | |
|---|---|
protected |
AbstractReloadableObjectCreator(PlasticProxyFactory proxyFactory,
ClassLoader baseClassLoader,
String implementationClassName,
org.slf4j.Logger logger,
OperationTracker tracker)
|
| Method Summary | |
|---|---|
void |
checkForUpdates()
Invoked to force the receiver to check for updates to whatever underlying resources it makes use of. |
protected abstract Object |
createInstance(Class clazz)
Invoked when an instance of the class is needed. |
Object |
createObject()
Create and return the object. |
Class<?> |
doClassLoad(String className)
|
Class<?> |
loadAndTransformClass(String className)
Load the class, transforming it as necessary. |
boolean |
shouldInterceptClassLoading(String className)
Identifies which classes are to be loaded. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractReloadableObjectCreator(PlasticProxyFactory proxyFactory,
ClassLoader baseClassLoader,
String implementationClassName,
org.slf4j.Logger logger,
OperationTracker tracker)
| Method Detail |
|---|
public void checkForUpdates()
UpdateListener
checkForUpdates in interface UpdateListenerpublic Object createObject()
ObjectCreator
createObject in interface ObjectCreatorprotected abstract Object createInstance(Class clazz)
InternalUtils.findAutobuildConstructor(Class)public boolean shouldInterceptClassLoading(String className)
ClassLoaderDelegate
shouldInterceptClassLoading in interface ClassLoaderDelegateclassName - fully qualified class name
public Class<?> loadAndTransformClass(String className)
throws ClassNotFoundException
ClassLoaderDelegate
loadAndTransformClass in interface ClassLoaderDelegateclassName - binary class name
ClassNotFoundException
public Class<?> doClassLoad(String className)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||