A Xentara service provider.
More...
#include <process/ServiceProvider.hpp>
A Xentara service provider.
Service providers implement Xentara microservices
- See also
- Writing Service Providers
-
Service Providers in the Xentara user manual
◆ ~ServiceProvider()
xentara::process::ServiceProvider::~ServiceProvider |
( |
| ) |
|
|
pure virtualdefault |
◆ createEnvironment()
Called by the framework to create the runtime environment for the service provider.
The implementation for this method must create the run time environment for the service provider.
- Returns
- The newly created environment. Must never return nullptr.
- Exceptions
-
◆ name()
virtual auto xentara::process::ServiceProvider::name |
( |
| ) |
const -> std::string_view |
|
pure virtual |
Gets the name of the service provider.
- Returns
- The name of the class, in UTF-8 encoding.
◆ registerObjects()
virtual auto xentara::process::ServiceProvider::registerObjects |
( |
Registry & |
registry | ) |
-> void |
|
pure virtual |
Called by the framework to regiter all service provider objects.
The service provider must register all microservice classes it provides.
- Parameters
-
registry | The registry that should be used to register the classes |
◆ uuid()
Gets the UUID of the service provider.