RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseWebPageModuleFactory Class

TBaseWebPageModuleFactory is the base class for Web module factory objects whose generated Web modules create Web pages.

Pascal
TBaseWebPageModuleFactory = class(TAbstractWebPageModuleFactory);
C++
class TBaseWebPageModuleFactory : public TAbstractWebPageModuleFactory;

WebFact

All WebSnap modules are registered with the WebSnap application using a factory object. The factory object is responsible for creating Web module instances. 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 instances for reuse with subsequent request messages. 

TBaseWebPageModuleFactory descendants generate Web page modules. In addition to holding components that perform tasks for the WebSnap application, Web page modules can generate a Web page. The Web page is described by a Web page information object, which the Web page module factory makes available as its WebPageInfo property. 

Do not create instances of TBaseWebPageModuleFactory. Although TBaseWebPageModuleFactory 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 TBaseWebPageModuleFactory descendant such as TWebPageModuleFactory or TWebAppPageModuleFactory

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!