Serves as a registry for all the Providers for services using the naming format of "ServiceName.Algorithm".
More...
#include <src/main/decaf/internal/security/ServiceRegistry.h>
Serves as a registry for all the Providers for services using the naming format of "ServiceName.Algorithm".
decaf::internal::security::ServiceRegistry::ServiceRegistry |
( |
| ) |
|
virtual decaf::internal::security::ServiceRegistry::~ServiceRegistry |
( |
| ) |
|
|
virtual |
Adds the Provider into the registry so that its services can be looked up by the registry clients.
- Parameters
-
provider | The instance of the Provider which is to be added to the registry |
Attempts to locate a ProviderService implementation for the named service and return a new instance of the service.
If no service exists for the given name this method returns NULL.
- Parameters
-
name | The name of the service to find, format is "serviceName.algorithmName" |
- Returns
- a caller owned pointer to a new ProviderService for the named service.
The documentation for this class was generated from the following file: