org.apache.tapestry.services.impl
Class ExtensionLookupFactory

java.lang.Object
  extended by org.apache.tapestry.services.impl.ExtensionLookupFactory
All Implemented Interfaces:
org.apache.hivemind.ServiceImplementationFactory

public class ExtensionLookupFactory
extends Object
implements org.apache.hivemind.ServiceImplementationFactory

An implementation of ServiceImplementationFactorythat looks for a service implementation provided as an application extension. If no such extension exists, then a default implementationis constructed and returned instead. This allows compatibility with Tapestry 3.0 and earlier application extensions (though those will be phased out in the future).

Since:
4.0
Author:
Howard Lewis Ship

Constructor Summary
ExtensionLookupFactory()
           
 
Method Summary
 Object createCoreServiceImplementation(org.apache.hivemind.ServiceImplementationFactoryParameters factorParameters)
           
 void setDefaultBuilder(org.apache.hivemind.lib.DefaultImplementationBuilder builder)
           
 void setSpecification(IApplicationSpecification specification)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtensionLookupFactory

public ExtensionLookupFactory()
Method Detail

createCoreServiceImplementation

public Object createCoreServiceImplementation(org.apache.hivemind.ServiceImplementationFactoryParameters factorParameters)
Specified by:
createCoreServiceImplementation in interface org.apache.hivemind.ServiceImplementationFactory

setDefaultBuilder

public void setDefaultBuilder(org.apache.hivemind.lib.DefaultImplementationBuilder builder)

setSpecification

public void setSpecification(IApplicationSpecification specification)


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.