Public Types | |
| typedef IServiceFactory *(* | CreateServiceFactoryFunc) (IServiceInfo *) |
| Type of a function that returns a factory for a given service. | |
Public Member Functions | |
| virtual | ~IServiceLoader ()=default |
| Releases resources. | |
| virtual void | loadApplicationServices (IApplication *)=0 |
| Loads available application singleton and autoload services. | |
| virtual void | loadSessionServices (ISession *)=0 |
| Loads available session singleton and autoload services. | |
| virtual void | loadSubDomainServices (ISubDomain *sd)=0 |
| Loads available subdomain singleton and autoload services. | |
| virtual bool | loadSingletonService (ISubDomain *sd, const String &name)=0 |
| Loads the subdomain singleton service with name name. | |
| virtual void | loadModules (ISubDomain *sd, bool all_modules)=0 |
| Loads modules in the subdomain sd. | |
| virtual void | initializeModuleFactories (ISubDomain *sd)=0 |
| Calls the initialization methods for module factories. | |
Definition at line 32 of file IServiceLoader.h.
| typedef IServiceFactory *(* Arcane::IServiceLoader::CreateServiceFactoryFunc) (IServiceInfo *) |
Type of a function that returns a factory for a given service.
Definition at line 42 of file IServiceLoader.h.
|
pure virtual |
Loads modules in the subdomain sd.
If all_modules is true, all modules are loaded; otherwise, only modules with the 'autoload' attribute are loaded
|
pure virtual |
Loads the subdomain singleton service with name name.
Returns true upon success and false if the singleton service is not found.