RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TInvokableClassRegistry.GetInvokableObjectFromClass Method

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

Pascal
function GetInvokableObjectFromClass(AClass: TClass): TObject;
C++
__fastcall TObject * GetInvokableObjectFromClass(TClass AClass);

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. 

 

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