From: Olivier Lamy Date: Mon, 23 Jan 2012 14:33:49 +0000 (+0000) Subject: add note on spring configuration X-Git-Tag: archiva-1.4-M3~1502 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4ef64e993cb4a6490badab6bdf999b8385b09eb4;p=archiva.git add note on spring configuration git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1234822 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/site/apt/rest.apt b/archiva-modules/archiva-web/archiva-webapp-js/src/site/apt/rest.apt index 5472b3863..662293c87 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/site/apt/rest.apt +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/site/apt/rest.apt @@ -106,6 +106,8 @@ public interface ManagedRepositoriesService REST services implementations are marked with the Spring annotation @Service +--------------------- +package org.apache.archiva.rest.services; +...... @Service( "managedRepositoriesService#rest" ) public class DefaultManagedRepositoriesService extends AbstractRestService @@ -122,6 +124,21 @@ public class DefaultManagedRepositoriesService ..... + + Note as we use @Service annotation package scanning must declared in spring configuration + + +... + + + +... + +--------------------- CXF servlet is declared as: