RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAbstractWebModuleList Class

TAbstractWebModuleList lists the WebModules in a WebSnap application and provides access to their factory objects.

Pascal
TAbstractWebModuleList = class(TObject);
C++
class TAbstractWebModuleList : public TObject;

HTTPApp

TAbstractWebModuleList is the base class for TWebModuleList, which lists every Web module that has been instantiated to serve the current request. It introduces properties and methods for accessing the Web modules in the application, as well as for the Web module factory objects that create those Web module instances. All the methods in TAbstractWebModuleList are abstract or, in C++ terminology, pure virtual, meaning they have no implementation. TWebModuleList, a TAbstractWebModuleList descendant, overrides those abstract or pure virtual methods to provide a default implementation. 

When a WebSnap application handles multiple requests concurrently, it includes multiple web modules lists, each on a separate thread and each associated with a different request. 

The Web context, which can be accessed using the global WebContext function, provides access to the TAbstractWebModuleList object that is associated with the current request. Use the Web context's WebModules property to obtain a reference to the Web module list. 

 

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