Skip to content

Commit

Permalink
Added explanatory comment to Spring XML
Browse files Browse the repository at this point in the history
  • Loading branch information
ajs6f committed Apr 23, 2013
1 parent 65ddf60 commit c4785e0
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions src/test/resources/spring-test/rest.xml
Expand Up @@ -5,17 +5,19 @@
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd">

<!-- Context that houses JAX-RS Resources that compose the API
as well as som utility gear. -->


<!-- Responsible for scanning/composing the HTTP API
Packages in the context:component-scan base-package attribute
will be scanned for Spring Components, which will be instantiated as
JAX-RS Resources -->

<context:annotation-config/>

<!-- Mints PIDs-->
<bean class="org.fcrepo.identifiers.UUIDPidMinter"/>
<bean class="org.fcrepo.session.SessionFactory"/>

<context:component-scan
base-package="org.modeshape.web.jcr.rest, org.fcrepo.api, org.fcrepo.api.legacy, org.fcrepo.exceptionhandlers, org.fcrepo.generator, org.fcrepo.exceptionhandlers"/>

</beans>

0 comments on commit c4785e0

Please sign in to comment.