liubao created SCB-2045:
---------------------------
Summary: support add service interface to tell which methods can
publish as service
Key: SCB-2045
URL: https://issues.apache.org/jira/browse/SCB-2045
Project: Apache ServiceComb
Issue Type: New Feature
Components: Java-Chassis
Reporter: liubao
Assignee: liubao
Fix For: java-chassis-2.1.1
e.g. In POJO mode
@RpcSchema(schemaId="Service")
public class Service implements IService {
void method1();
void method2();
}
public interface IService {
void method1();
}
we can add a constaint to tell only method1 is published as RPC service by
doing:
@RpcSchema(schemaId="Service", schemaInterface=IService.class)
public class Service implements IService {
--
This message was sent by Atlassian Jira
(v8.3.4#803005)