public interface ComponentConstructorFactory
tapestry.enhance.ComponentConstructorFactory service that acts as a wrapper around
EnhancementOperation, used to take a base component class
and provide an enhanced subclass of it.| Modifier and Type | Method and Description |
|---|---|
ComponentConstructor |
getComponentConstructor(IComponentSpecification specification,
java.lang.String className)
Passed a component specification and the base component class name, provides back an object
used to instantiate instances of the component.
|
ComponentConstructor getComponentConstructor(IComponentSpecification specification, java.lang.String className)
ComponentConstructors are internally
cached, repeated calls with the same specification object will yield the same result.specification - the page or component specification which directs the enhancement operationclassName - the name of the base component class (in some cases,
{@link IComponentSpecification#getComponentClassName() is null andother code
provides the default)