RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWebAppPageModuleFactory Class

TWebAppPageModuleFactory is the factory object for application Web page modules in a WebSnap application.

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

WebFact

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 determine whether the module should be cached for future request or destroyed after each request and created for each new request.  

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.  

TWebAppPageModuleFactory identifies the module as an application module. The application module contains the components responsible for dispatching the HTTP request. WebSnap applications register a single application module class. 

 

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