public interface ServiceMap
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.
Modifier and Type | Method and Description |
---|---|
IEngineService |
getService(java.lang.String name)
Returns the named service.
|
boolean |
isValid(java.lang.String name)
Returns true if the name is a known service, or false otherwise.
|
IEngineService getService(java.lang.String name)
name
- the unique name for the service, as defined by each service instance's
IEngineService.getName()
method.org.apache.hivemind.ApplicationRuntimeException
- if the named service does not existboolean isValid(java.lang.String name)