public class ComponentConstructorFactoryImpl extends java.lang.Object implements ComponentConstructorFactory, ResetEventListener, ReportStatusListener
ComponentConstructorFactory service
interface.| Constructor and Description |
|---|
ComponentConstructorFactoryImpl() |
| 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.
|
void |
reportStatus(ReportStatusEvent event) |
void |
resetEventDidOccur() |
void |
setChain(EnhancementWorker chain) |
void |
setClassFactory(org.apache.hivemind.service.ClassFactory classFactory) |
void |
setClassResolver(org.apache.hivemind.ClassResolver classResolver) |
void |
setLog(org.apache.commons.logging.Log log) |
void |
setServiceId(java.lang.String serviceId) |
void |
setValidator(EnhancedClassValidator validator) |
public ComponentConstructorFactoryImpl()
public void resetEventDidOccur()
resetEventDidOccur in interface ResetEventListenerpublic void reportStatus(ReportStatusEvent event)
reportStatus in interface ReportStatusListenerpublic ComponentConstructor getComponentConstructor(IComponentSpecification specification, java.lang.String className)
ComponentConstructorFactoryComponentConstructors are internally
cached, repeated calls with the same specification object will yield the same result.getComponentConstructor in interface ComponentConstructorFactoryspecification - 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)public void setClassFactory(org.apache.hivemind.service.ClassFactory classFactory)
public void setClassResolver(org.apache.hivemind.ClassResolver classResolver)
public void setValidator(EnhancedClassValidator validator)
public void setChain(EnhancementWorker chain)
public void setLog(org.apache.commons.logging.Log log)
public void setServiceId(java.lang.String serviceId)