org.apache.tapestry.services.impl
Class ComponentConstructorFactoryImpl
java.lang.Object
org.apache.tapestry.services.impl.ComponentConstructorFactoryImpl
- All Implemented Interfaces:
- EventListener, ReportStatusListener, ResetEventListener, ComponentConstructorFactory
public class ComponentConstructorFactoryImpl
- extends Object
- implements ComponentConstructorFactory, ResetEventListener, ReportStatusListener
Implementation of the ComponentConstructorFactory
service
interface.
- Since:
- 4.0
- Author:
- Howard M. Lewis Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentConstructorFactoryImpl
public ComponentConstructorFactoryImpl()
resetEventDidOccur
public void resetEventDidOccur()
- Specified by:
resetEventDidOccur
in interface ResetEventListener
reportStatus
public void reportStatus(ReportStatusEvent event)
- Specified by:
reportStatus
in interface ReportStatusListener
getComponentConstructor
public ComponentConstructor getComponentConstructor(IComponentSpecification specification,
String className)
- Description copied from interface:
ComponentConstructorFactory
- Passed a component specification and the base component class name, provides back an object
used to instantiate instances of the component.
ComponentConstructor
s are internally
cached, repeated calls with the same specification object will yield the same result.
- Specified by:
getComponentConstructor
in interface ComponentConstructorFactory
- Parameters:
specification
- the page or component specification which directs the enhancement operationclassName
- the name of the base component class (in some cases,
IComponentSpecification.getComponentClassName()
is null andother code
provides the default)
setClassFactory
public void setClassFactory(org.apache.hivemind.service.ClassFactory classFactory)
setClassResolver
public void setClassResolver(org.apache.hivemind.ClassResolver classResolver)
setValidator
public void setValidator(EnhancedClassValidator validator)
setChain
public void setChain(EnhancementWorker chain)
setLog
public void setLog(Log log)
setServiceId
public void setServiceId(String serviceId)
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.