RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseWebModuleFactory Class

TBaseWebModuleFactory is the base class for Web module factory objects whose generated Web modules do not create Web pages.

Pascal
TBaseWebModuleFactory = class(TAbstractWebModuleFactory);
C++
class TBaseWebModuleFactory : public TAbstractWebModuleFactory;

All WebSnap modules are registered with the WebSnap application using a factory object. The factory object is responsible for creating Web module instance. Applications can set flags for each factory object to indicate when it should create instances of its Web module and whether it can cache Web module instance for reuse with subsequent request messages. 

TBaseWebModuleFactory descendants generate Web modules that do generate Web pages. These Web modules can contain components, such as adapters, that perform tasks for the WebSnap application. 

Do not create instances of TBaseWebModuleFactory. Although TBaseWebModuleFactory provides an implementation for the abstract or, in C++ terminology, pure virtual methods introduced by its ancestors, it is intended only as a base class. Instead, create instances of a TBaseWebModuleFactory descendant such as TWebDataModuleFactory or TWebAppDataModuleFactory

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!