You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2011/09/01 20:03:09 UTC

[jira] [Closed] (THRIFT-1315) thrift: generate server interface factory classes

     [ https://issues.apache.org/jira/browse/THRIFT-1315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryan Duxbury closed THRIFT-1315.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 0.8
         Assignee: Dave Watson

Committed.

>  thrift: generate server interface factory classes

> ---------------------------------------------------
>
>                 Key: THRIFT-1315
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1315
>             Project: Thrift
>          Issue Type: Improvement
>          Components: C++ - Library
>            Reporter: Dave Watson
>            Assignee: Dave Watson
>            Priority: Minor
>             Fix For: 0.8
>
>         Attachments: 0026-thrift-generate-server-interface-factory-classes.patch
>
>
> From 58121fb3ac477e83811e7b8013dd3fa6a925d985 Mon Sep 17 00:00:00 2001
> From: Adam Simpkins <si...@fb.com>
> Date: Mon, 19 Apr 2010 19:09:21 +0000
> Subject: [PATCH 26/33] thrift: generate server interface factory classes
> Summary:
> The C++ generator now generates an abstract factory class definition for
> all server interface classes.  A singleton factory implementation is
> always defined, which always returns a pointer to the same object.
> Test Plan:
> Generated code with cob_style and templates enabled, and everything
> still compiles.
> Revert Plan:
> OK
> ---
>  compiler/cpp/src/generate/t_cpp_generator.cc |  161 ++++++++++++++++++++++++++
>  lib/cpp/src/TProcessor.h                     |   28 +++++
>  2 files changed, 189 insertions(+), 0 deletions(-)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira