Soap.InvokeRegistry.TCreateInstanceProc
C++
typedef void __fastcall (*TCreateInstanceProc)(/* out */ System::TObject* &obj);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
typedef | public | Soap.InvokeRegistry.hpp | Soap.InvokeRegistry | Soap.InvokeRegistry |
Description
TCreateInstanceProc is the type of the factory routine that returns an instance of an invokable class.
TCreateInstanceProc is the type for procedures that return an instance of an invokable class on behalf of the invocation registry. When the class that implements an invokable interface is not a descendant of TInvokableClass, or when you want to control the instantiation of the implementation class (for example to use a single shared instance for all incoming requests), supply a procedure of this type when registering the implementation class.
obj returns an instance of the invokable class, which can handle the current incoming request.