Unicorn XML Toolkit
Version 1.00.00

Namespace EcmaScriptComponent
Class CObjectManagerFactory

class CObjectManagerFactory: public CInterface {
public:
    CObjectManagerFactory();
    virtual ~CObjectManagerFactory();
public:
    virtual XObjectManager 
        CreateObjectManager(const CString &strType) = 0;
    };

The factory for Simple Object Model (SOM) object managers.

This class represents an abstract interface to object manager factories. Applications are required to provide implementation of this class.

An application must supply an object of this class when the the component-based extension package is constructed.

An object manager factory may support one or more object manager implementations. Each implementation must have the unique type name. When creation of a new object manager is requested, the desired type name must be supplied.

SOM object managers are represented via Som::CObjectManager class.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
See Also:
Som::CObjectManager
Constructor/Destructor Summary
CObjectManagerFactory ();
����������Constructs the object manager factory.
~CObjectManagerFactory ();
����������Destroys the object manager factory.

Function Summary
XObjectManager CreateObjectManager (const CString &strType);
����������Creates a new SOM object manager with the specified type name.

Constructor/Destructor Detail

CObjectManagerFactory

CObjectManagerFactory();

Constructs the object manager factory.

~CObjectManagerFactory

virtual ~CObjectManagerFactory();

Destroys the object manager factory.

Function Detail

CreateObjectManager

virtual XObjectManager 
    CreateObjectManager(const CString &strType) = 0;

Creates a new SOM object manager with the specified type name.

Parameters:
strType - the string containing the desired type name
Returns:
the newly created object manager

Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

Copyright 1999-2001 Unicorn Enterprises SA.
All Rights Reserved.