Provides the service implementation of CAP.