Interface providing a mechanism to load modules and to create the objects defined in the modules.
More...
|
virtual | ~ModuleLoaderInterface () |
| Destructor. More...
|
|
virtual void | addSystemModulePath ()=0 |
| Add the path defined by the system depending on the platform where to seek modules to load. More...
|
|
virtual void | addModulePath (const std::string &path)=0 |
| Add a new path where to seek modules to load. More...
|
|
virtual bool | loadModule (const std::string &name)=0 |
| Load a module with name 'name' seeking in all module paths defined in the order of their definition. More...
|
|
virtual std::vector< std::string > | moduleLoadTryPaths (const std::string &name)=0 |
| Get the list of files tried to load for module with a given name. More...
|
|
virtual void | addResourcePath (const std::string &path)=0 |
| Declare a path for analyzer components to find resource files. More...
|
|
virtual void | defineWorkingDirectory (const std::string &path)=0 |
| Declare the root path for all data created and written by strus modules. More...
|
|
virtual std::vector< std::string > | modulePaths () const =0 |
| Get the paths where to seek modules to load. More...
|
|
virtual std::vector< std::string > | modules () const =0 |
| Get the names of loaded modules. More...
|
|
virtual std::vector< std::string > | resourcePaths () const =0 |
| Get the paths for resource files. More...
|
|
virtual std::string | workingDirectory () const =0 |
| Get the root path for all data created and written by strus modules. More...
|
|
virtual
StorageObjectBuilderInterface * | createStorageObjectBuilder () const =0 |
| Create a builder for storage objects build from components loaded from module or the defaults defined. More...
|
|
virtual
AnalyzerObjectBuilderInterface * | createAnalyzerObjectBuilder () const =0 |
| Create a builder for analyzer objects build from components loaded from module or the defaults defined. More...
|
|
virtual
TraceObjectBuilderInterface * | createTraceObjectBuilder (const std::string &config) const =0 |
| Get the builder for call trace proxy objects for analyzer or storage. The returned builder is built from components loaded from module or the standard builders defined by name. More...
|
|
virtual std::vector< std::string > | get3rdPartyLicenseTexts () const =0 |
| Get the license texts of loaded 3rdParty components, that need to be visible. More...
|
|
virtual std::vector< std::string > | get3rdPartyVersionTexts () const =0 |
| Get the version info of loaded 3rdParty components, if of any interest. More...
|
|
Interface providing a mechanism to load modules and to create the objects defined in the modules.