org.apache.tapestry.services.impl
Class InfrastructureObjectProvider

java.lang.Object
  extended by org.apache.tapestry.services.impl.InfrastructureObjectProvider
All Implemented Interfaces:
org.apache.hivemind.service.ObjectProvider

public class InfrastructureObjectProvider
extends Object
implements org.apache.hivemind.service.ObjectProvider

An ObjectProvider that streamlines access to the central Infrastructureobject. The locator for this provider is the name of a property of the Infrastructure.

Since:
4.0
Author:
Howard Lewis Ship

Constructor Summary
InfrastructureObjectProvider()
           
 
Method Summary
 Object provideObject(org.apache.hivemind.internal.Module contributingModule, Class propertyType, String locator, org.apache.hivemind.Location location)
           
 void setErrorLog(org.apache.hivemind.ErrorLog errorLog)
           
 void setInfrastructure(Infrastructure infrastructure)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfrastructureObjectProvider

public InfrastructureObjectProvider()
Method Detail

provideObject

public Object provideObject(org.apache.hivemind.internal.Module contributingModule,
                            Class propertyType,
                            String locator,
                            org.apache.hivemind.Location location)
Specified by:
provideObject in interface org.apache.hivemind.service.ObjectProvider

setErrorLog

public void setErrorLog(org.apache.hivemind.ErrorLog errorLog)

setInfrastructure

public void setInfrastructure(Infrastructure infrastructure)


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