|
||||||||||
| 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,
java.lang.ClassLoader baseClassLoader,
java.lang.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 java.lang.Object |
createInstance(java.lang.Class clazz)
Invoked when an instance of the class is needed. |
java.lang.Object |
createObject()
Create and return the object. |
java.lang.Class<?> |
doClassLoad(java.lang.String className)
|
java.lang.Class<?> |
loadAndTransformClass(java.lang.String className)
Load the class, transforming it as necessary. |
boolean |
shouldInterceptClassLoading(java.lang.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,
java.lang.ClassLoader baseClassLoader,
java.lang.String implementationClassName,
org.slf4j.Logger logger,
OperationTracker tracker)
| Method Detail |
|---|
public void checkForUpdates()
UpdateListener
checkForUpdates in interface UpdateListenerpublic java.lang.Object createObject()
ObjectCreator
createObject in interface ObjectCreatorprotected abstract java.lang.Object createInstance(java.lang.Class clazz)
InternalUtils.findAutobuildConstructor(Class)public boolean shouldInterceptClassLoading(java.lang.String className)
ClassLoaderDelegate
shouldInterceptClassLoading in interface ClassLoaderDelegateclassName - fully qualified class name
public java.lang.Class<?> loadAndTransformClass(java.lang.String className)
throws java.lang.ClassNotFoundException
ClassLoaderDelegate
loadAndTransformClass in interface ClassLoaderDelegateclassName - binary class name
java.lang.ClassNotFoundException
public java.lang.Class<?> doClassLoad(java.lang.String className)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||