|
static const std::string & | PROP_ID () |
| Returns the property key for looking up this module's id. More...
|
|
static const std::string & | PROP_NAME () |
| Returns the property key for looking up this module's name. More...
|
|
static const std::string & | PROP_LOCATION () |
| Returns the property key for looking up this module's location in the file system. More...
|
|
static const std::string & | PROP_VERSION () |
| Returns the property key with a value of module.version for looking up this module's version identifier. More...
|
|
static const std::string & | PROP_VENDOR () |
| Returns the property key with a value of module.vendor for looking up this module's vendor information. More...
|
|
static const std::string & | PROP_DESCRIPTION () |
| Returns the property key with a value of module.description for looking up this module's description. More...
|
|
static const std::string & | PROP_AUTOLOAD_DIR () |
| Returns the property key with a value of module.autoload_dir for looking up this module's auto-load directory. More...
|
|
static const std::string & | PROP_AUTOLOADED_MODULES () |
| Returns the property key with a value of module.autoloaded_modules for looking up this module's auto-load modules. More...
|
|
The CppMicroServices Framework.
A Framework is itself a bundle and is known as the "System Bundle". The System Bundle differs from other bundles in the following ways:
- The system bundle is always assigned a bundle identifier of zero (0).
- The system bundle
GetLocation
method returns the string: "System Bundle".
- The system bundle's life cycle cannot be managed like normal bundles. Its life cycle methods must behave as follows:
- Start - Does nothing because the system bundle is already started.
- Stop - Stops all installed bundles.
- Uninstall - The Framework must throw a std::runtime_error exception indicating that the system bundle cannot be uninstalled.
Framework instances are created using a FrameworkFactory. The methods of this class can be used to manage and control the created framework instance.
- See also
- FrameworkFactory::NewFramework(std::map<std::string, std::string> configuration)