org.apache.tapestry.services.impl
Class EngineFactoryImpl
java.lang.Object
org.apache.tapestry.services.impl.EngineFactoryImpl
- All Implemented Interfaces:
- EngineFactory
public class EngineFactoryImpl
- extends Object
- implements EngineFactory
Standard implementation of EngineFactory
service. This
should do for most purposes, since a major focus of Tapestry 4.0 is to no longer require
subclassing of BaseEngine
.
- Since:
- 4.0
- Author:
- Howard Lewis Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EngineFactoryImpl
public EngineFactoryImpl()
initializeService
public void initializeService()
constructNewEngineInstance
public IEngine constructNewEngineInstance(Locale locale)
- Description copied from interface:
EngineFactory
- Creates and initializes a new engine instance for the specified locale.
- Specified by:
constructNewEngineInstance
in interface EngineFactory
- Parameters:
locale
- The locale to create the instance for.
- Returns:
- A newly constructed engine.
setApplicationSpecification
public void setApplicationSpecification(IApplicationSpecification specification)
setClassResolver
public void setClassResolver(org.apache.hivemind.ClassResolver resolver)
setDefaultEngineClassName
public void setDefaultEngineClassName(String string)
setErrorLog
public void setErrorLog(org.apache.hivemind.ErrorLog errorLog)
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.