WebFact.TWebPageModuleFactory
Contents |
Delphi Information
From WebFact.pas
TWebPageModuleFactory = class(TBaseWebPageModuleFactory)
Unit: WebFact
Type: class
Inherited Class Members: WebFact.TWebPageModuleFactory Members
Class Constructors & Destructors: WebFact.TWebPageModuleFactory Constructors
C++ Information
From WebFact.hpp
TWebPageModuleFactory = class(TBaseWebPageModuleFactory)
Unit: WebFact
Type: class
Inherited Class Members: WebFact.TWebPageModuleFactory Members
Class Constructors & Destructors: WebFact.TWebPageModuleFactory Constructors
Description
TWebPageModuleFactory is the factory object for Web page modules in a WebSnap application.
All WebSnap modules are registered with the WebSnap application using a factory object. The factory object is responsible for creating the module and also contains flags that specify how the WebSnap application should manage the creation, destruction, and use of the Web module. TWebPageModuleFactory also contains flags that determine whether the module should be cached for future request or destroyed after each request and created for each new request.
Note: In the Delphi language, the factory object is created in the initialization section of the module source file.
Page module factories also contain information about the page such as the page name, description, and access rights. This information is available through the factory so that it can be retrieved without creating the module.
WebSnap applications can contain multiple Web page module factories (hence multiple Web page modules), each of which creates the Web page module for a different Web page that the application can create.