org.apache.tapestry.services.impl
Class InfrastructureObjectProvider

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

public class InfrastructureObjectProvider
extends java.lang.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
 java.lang.Object provideObject(org.apache.hivemind.internal.Module contributingModule, java.lang.Class propertyType, java.lang.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 java.lang.Object provideObject(org.apache.hivemind.internal.Module contributingModule,
                                      java.lang.Class propertyType,
                                      java.lang.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)