org.apache.tapestry.services.impl
Class EngineFactoryImpl

java.lang.Object
  extended by 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

Constructor Summary
EngineFactoryImpl()
           
 
Method Summary
 IEngine constructNewEngineInstance(Locale locale)
          Creates and initializes a new engine instance for the specified locale.
 void initializeService()
           
 void setApplicationSpecification(IApplicationSpecification specification)
           
 void setClassResolver(org.apache.hivemind.ClassResolver resolver)
           
 void setDefaultEngineClassName(String string)
           
 void setErrorLog(org.apache.hivemind.ErrorLog errorLog)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EngineFactoryImpl

public EngineFactoryImpl()
Method Detail

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.