/[Apache-SVN]
ViewVC logotype

Revision 930601


Jump to revision: Previous Next
Author: bryanduxbury
Date: Sat Apr 3 23:19:52 2010 UTC (14 years ago)
Changed paths: 3
Log Message:
THRIFT-746. java: Generated services Iface/Client inner classes do not derive from base classes

This patch causes all generated Client classes to inherit from TServiceClient, an interface that provides a way to get the protocols the Client is using. Also, it causes a new TServiceClientFactory implementation to generated for each Service, which provides a generic, reflection-free way to get Clients. These changes make it easier to build generic pools of Client objects.

Patch: Mathias Herberts

Changed paths

Path Details
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_java_generator.cc modified , text changed
Directoryincubator/thrift/trunk/lib/java/src/org/apache/thrift/TServiceClient.java added
Directoryincubator/thrift/trunk/lib/java/src/org/apache/thrift/TServiceClientFactory.java added

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26