0 Replies Latest reply on Jan 27, 2016 5:48 AM by oicfar

    Overwrite REST API implemenatation

    oicfar

      Hi,

       

      I'm looking for a solution how to overwrite existing REST API implementation for AdvancedCommentServiceImpl.

       

      package com.jivesoftware.community.content.comment.rest.impl;
      
      import ...
      
      import static com.jivesoftware.community.content.discussion.rest.impl.MessageServiceImpl.applyUserPropertiesToMessage;
      
      @Service("advancedCommentService")
      public class AdvancedCommentServiceImpl implements AdvancedCommentService {
      
         private static final Logger log = Logger.getLogger(AdvancedCommentServiceImpl.class);
      
         ....
      }
      

       

      There is just one reference in spring-wsInternalContext.xml

       

          <bean id="internalRestServerBeans" class="com.jivesoftware.community.util.spring.MergeableCollection">
              <property name="source">
      
      
                  <util:list>
                      ...
                      <ref bean="advancedCommentService"/>
                      ...
                  </util:list>
              </property>
          </bean>
      

       

       

      Best Regards,

      Rafal