org.apache.tapestry.services.impl
Class ServiceMapImpl

java.lang.Object
  extended by org.apache.tapestry.services.impl.ServiceMapImpl
All Implemented Interfaces:
EngineServiceSource, ServiceMap

public class ServiceMapImpl
extends Object
implements ServiceMap, EngineServiceSource

Implementation of ServiceMap.

Since:
4.0
Author:
Howard Lewis Ship

Constructor Summary
ServiceMapImpl()
           
 
Method Summary
 IEngineService getService(String name)
          Returns the named service.
 void initializeService()
           
 boolean isValid(String name)
          Returns true if the name is a known service, or false otherwise.
 IEngineService resolveEngineService(String name)
          This returns the actual service, not the outer proxy.
 void setApplicationServices(List applicationServices)
           
 void setErrorLog(org.apache.hivemind.ErrorLog errorLog)
           
 void setFactoryServices(List factoryServices)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceMapImpl

public ServiceMapImpl()
Method Detail

initializeService

public void initializeService()

getService

public IEngineService getService(String name)
Description copied from interface: ServiceMap
Returns the named service.

Specified by:
getService in interface ServiceMap
Parameters:
name - the unique name for the service, as defined by each service instance's IEngineService.getName() method.

isValid

public boolean isValid(String name)
Description copied from interface: ServiceMap
Returns true if the name is a known service, or false otherwise.

Specified by:
isValid in interface ServiceMap

resolveEngineService

public IEngineService resolveEngineService(String name)
This returns the actual service, not the outer proxy.

Specified by:
resolveEngineService in interface EngineServiceSource

setApplicationServices

public void setApplicationServices(List applicationServices)

setFactoryServices

public void setFactoryServices(List factoryServices)

setErrorLog

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


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