RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAbstractWebModuleFactory.GetModule Method

Creates an instance of the associated Web module.

Pascal
function GetModule: TComponent; virtual; abstract;
C++
virtual __fastcall TComponent * GetModule() = 0;

Call GetModule to obtain a new instance of the Web module that the factory creates. This method should only be called once for each request message that requires the use of the Web module. 

GetModule returns the Web module instance. 

In TAbstractWebModuleFactory, GetModule is abstract or, in C++ terminology, pure virtual, meaning it has no implementation. Descendant classes must override this method to provide an implementation that creates a new Web module instance. 

 

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