[ 
https://issues.apache.org/jira/browse/THRIFT-1993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13675502#comment-13675502
 ] 

Hudson commented on THRIFT-1993:
--------------------------------

Integrated in Thrift #661 (See [https://builds.apache.org/job/Thrift/661/])
    THRIFT-1993 Factory to create instances from known (generated) interface 
types with Delphi (Revision c2c4d72b90f322e46a8cbb4e196c598bbcb3f615)

     Result = FAILURE
jensg : 
Files : 
* lib/delphi/test/typeregistry/TestTypeRegistry.dpr
* lib/delphi/test/codegen/run-Pascal-Codegen-Tests.bat.tmpl
* lib/delphi/src/Thrift.TypeRegistry.pas
* compiler/cpp/src/generate/t_delphi_generator.cc

                
> Factory to create instances from known (generated) interface types with Delphi
> ------------------------------------------------------------------------------
>
>                 Key: THRIFT-1993
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1993
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Delphi - Compiler, Delphi - Library
>         Environment: Windows
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>             Fix For: 1.0
>
>         Attachments: 
> THRIFT-1993-Delphi-Factory-to-create-instance-from-known-interface.patch
>
>
> Feature to optionally create code which registers Thrift-generated Delphi 
> interfaces with their implementing classes. This enables the developer to 
> easily create an entity based on the known interface types and/or create 
> thrift entities within generic classes more easily:
> {code}
> var thing : IThing;
> begin
>   thing := TypeRegistry.Construct<IThing>;
>   // do something with thing
> end;
> {code}
> Without this feature, one would have to know the class name and write:
> {code}
> var thing : IThing;
> begin
>   thing := TThingImpl.Create;
>   // do something with thing
> end;
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to