You are here

Frontend Service API in Hosting 6.2

Same name and namespace in other branches
  1. 7.4 example/example_service/hosting_example.module \hostingserviceapi
  2. 7.3 example/example_service/hosting_example.module \hostingserviceapi

The "service API" is what makes Aegir capable of managing multiple services like web or database servers. It provides a level of abstraction that allows different implementations of a specific service type.

File

example/hosting_example.module, line 12
Example of the Hosting Services API.

Functions

Namesort descending Location Description
hosting_example_hosting_service example/hosting_example.module Expose a service implementation to the service API.
hosting_example_hosting_service_type example/hosting_example.module Expose a type of service to the Service API.

Classes

Namesort descending Location Description
hostingService_example example/hosting_example.service.inc The base service type class , registered with hook_hosting_service_type.
hostingService_example example/hosting_example.service.inc The base service type class , registered with hook_hosting_service_type.
hostingService_example_basic example/hosting_example.service.inc An implementation of the example service type, registered with hook_hosting_service.
hostingService_example_basic example/hosting_example.service.inc An implementation of the example service type, registered with hook_hosting_service.

Files

Namesort descending Location Description
hosting_example.service.inc example/hosting_example.service.inc Example service implementation for the hosting front end.