org.apache.tapestry.services
Interface ServiceMap

All Known Implementing Classes:
ServiceMapImpl

public interface ServiceMap

Service interface for tapestry.services.ServiceMap, provides access to engine services defined in the HiveMind module deployment descriptors.

Note: In Tapestry 3.0 and earlier, a <service> element in the application and library specifications was used to define services. This is no longer supported.

Since:
4.0
Author:
Howard Lewis Ship

Method Summary
 IEngineService getService(String name)
          Returns the named service.
 boolean isValid(String name)
          Returns true if the name is a known service, or false otherwise.
 

Method Detail

getService

IEngineService getService(String name)
Returns the named service.

Parameters:
name - the unique name for the service, as defined by each service instance's IEngineService.getName() method.
Throws:
org.apache.hivemind.ApplicationRuntimeException - if the named service does not exist

isValid

boolean isValid(String name)
Returns true if the name is a known service, or false otherwise.



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