Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-19137

Add JSONWebServices annotations from service builder

    Details

      Description

      Enable Service builder to add @JSONWebService annotation. Up to now, @JSONWebService annotation is added manually to the ServiceImpl classes which methods has to be exposed for this new json API.

      Whit this change, the annotation is automatically added by ServiceBuilder to all "*Service" interfaces where "remote-service="true"" in service xml.

      Therefore, our @JSONWebService configurator now picks up the interfaces, too, during the classpath scanning.

      Moreover, it is possible to 'override' default JSONWebService annotations in interfaces. If an service has an annotated *ServiceImpl class, then interface will be not scanned. Instead, the service impl will be scanned.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              igor.spasic Igor Spasic (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 14 weeks, 1 day ago

                  Packages

                  Version Package
                  --Sprint 12/11
                  6.1.0 CE RC1