File Information
Library: OSP
Package: Bundle
Header: Poco/OSP/BundleContextFactory.h
Description
This is a factory for BundleContext objects, used by the BundleLoader.
Inheritance
Direct Base Classes: Poco::RefCountedObject
All Base Classes: Poco::RefCountedObject
Member Summary
Member Functions: createBundleContext
Inherited Functions: duplicate, referenceCount, release
Types Aliases
ConstPtr
Ptr
using Ptr = Poco::AutoPtr < BundleContextFactory >;
Constructors
BundleContextFactory
BundleContextFactory(
ServiceRegistry & registry,
SystemEvents & systemEvents
);
Creates the BundleContextFactory.
BundleContextFactory
BundleContextFactory(
ServiceRegistry & registry,
SystemEvents & systemEvents,
const Path & persistencyDir
);
Creates the BundleContextFactory.
Destructor
~BundleContextFactory
Destroys the BundleContextFactory.
Member Functions
createBundleContext
virtual BundleContext * createBundleContext(
BundleLoader & loader,
Bundle::ConstPtr pBundle,
BundleEvents & events
);
Creates and returns a new BundleContext object.