Uploaded image for project: 'Apache ServiceComb'
  1. Apache ServiceComb
  2. SCB-2045

support add service interface to tell which methods can publish as service

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • java-chassis-2.1.1
    • Java-Chassis
    • None

    Description

      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 {

       

      Attachments

        Issue Links

          Activity

            People

              liubao68 liubao
              liubao68 liubao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: