Poco::OSP

class OSPSubsystem

Library: OSP
Package: Util
Header: Poco/OSP/OSPSubsystem.h

Description

This subsystem implementation sets up the OSP runtime environment, including BundleLoader, CodeCache and ServiceRegistry.

It also defines the "clean" command line option, which forces the code cache to be cleared.

The following configuration properties are used:

The following configuration properties are set:

Inheritance

Direct Base Classes: Poco::Util::Subsystem

All Base Classes: Poco::RefCountedObject, Poco::Util::Subsystem

Member Summary

Member Functions: bundleLoader, cancelInit, defineOptions, handleClear, initialize, name, serviceRegistry, uninitialize

Inherited Functions: defineOptions, duplicate, initialize, name, referenceCount, reinitialize, release, uninitialize

Constructors

OSPSubsystem

OSPSubsystem();

Creates the OSPSubsystem.

Destructor

~OSPSubsystem virtual

~OSPSubsystem();

Destroys the OSPSubsystem.

Member Functions

bundleLoader inline

BundleLoader & bundleLoader();

Returns a reference to the bundle loader.

cancelInit

void cancelInit();

Cancels initialization.

defineOptions

void defineOptions(
    Poco::Util::OptionSet & options
);

initialize

void initialize(
    Poco::Util::Application & app
);

name virtual

const char * name() const;

See also: Poco::Util::Subsystem::name()

serviceRegistry inline

ServiceRegistry & serviceRegistry();

Returns a reference to the service registry.

uninitialize virtual

void uninitialize();

See also: Poco::Util::Subsystem::uninitialize()

handleClear protected

void handleClear(
    const std::string & name,
    const std::string & value
);