|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ComponentInstantiatorSource
Creates Instantiators for components, based on component class name.
This will involve transforming the component's class before it is loaded.
InvalidationListeners, so
that any information derived from loaded classes can be discarded and rebuilt when classes change.
The strategy used is that when any class (in a controlled package) changes, the entire class loader is
discarded, along with any instances derived from those classes. A new class loader is created, and then invalidation
events are fired to listeners.
| Method Summary | |
|---|---|
void |
addPackage(String packageName)
Adds a controlled package. |
boolean |
exists(String className)
Checks to see if a fully qualfied class name exists. |
Instantiator |
findInstantiator(String classname)
Given the name of a component class, provides an instantiator for that component. |
ClassFactory |
getClassFactory()
Returns a class factory that can be used to generate additional classes around enhanced classes, or create subclasses of enhanced classes. |
| Methods inherited from interface org.apache.tapestry.internal.event.InvalidationEventHub |
|---|
addInvalidationListener |
| Method Detail |
|---|
Instantiator findInstantiator(String classname)
classname - FQCN to find (and perhaps transform and load)
void addPackage(String packageName)
packageName - the package name to add (must not be blank)boolean exists(String className)
className - name of class to check
ClassFactory getClassFactory()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||