
com.alibaba.dubbo.rpc.protocol.thrift.ThriftClassNameGenerator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dubbo2 Show documentation
Show all versions of dubbo2 Show documentation
The all in one project of dubbo2
The newest version!
/**
* File Created at 2012-02-02
* $Id$
*
* Copyright 2008 Alibaba.com Croporation Limited.
* All rights reserved.
*
* This software is the confidential and proprietary information of
* Alibaba Company. ("Confidential Information"). You shall not
* disclose such Confidential Information and shall use it only in
* accordance with the terms of the license agreement you entered into
* with Alibaba.com.
*/
package com.alibaba.dubbo.rpc.protocol.thrift;
/**
* @author kimi
*/
public class ThriftClassNameGenerator implements ClassNameGenerator {
public static final String NAME = "thrift";
public String generateArgsClassName( String serviceName, String methodName ) {
return ThriftUtils.generateMethodArgsClassNameThrift( serviceName, methodName );
}
public String generateResultClassName( String serviceName, String methodName ) {
return ThriftUtils.generateMethodResultClassNameThrift( serviceName, methodName );
}
}