Soap.InvokeRegistry.TInvokableClassRegistry.GetInvokableObjectFromClass

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function  GetInvokableObjectFromClass(AClass: TClass): TObject;

C++

System::TObject* __fastcall GetInvokableObjectFromClass(System::TClass AClass);

Properties

Type Visibility Source Unit Parent
function public
Soap.InvokeRegistry.pas
Soap.InvokeRegistry.hpp
Soap.InvokeRegistry TInvokableClassRegistry

Description

Returns an instance of the implementation class for a registered invokable interface.

Typically, applications do not need to call GetInvokableObjectFromClass. This method is called by the invoker component (THTTPSoapPascalInvoker or THTTPSoapCppInvoker) to obtain an instance of the class that implements a registered invokable interface. When the invoker is finished with the object, it calls GetWSDLEncoding to free the instance.

AClass identifies the class whose instance is desired. It must be registered by a call to RegisterInvokableClass. The invoker obtains this class reference by calling the GetInfoForURI method.

See Also