org.apache.tapestry.services.impl
Class ExtensionLookupFactory
java.lang.Object
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 ServiceImplementationFactory
that looks for a
service implementation provided as an
application
extension
. If no such extension exists, then a
default implementation
is
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtensionLookupFactory
public ExtensionLookupFactory()
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.