Skip to content

Commit

Permalink
Changed FedoraNodes and FedoraUnnamedObjects to use injected Session
Browse files Browse the repository at this point in the history
  • Loading branch information
ajs6f committed May 8, 2013
1 parent bdb8d36 commit 9599ec0
Show file tree
Hide file tree
Showing 9 changed files with 285 additions and 228 deletions.
Expand Up @@ -10,9 +10,7 @@

<context:annotation-config />

<context:component-scan base-package="org.fcrepo.generator, org.fcrepo.api, org.fcrepo.exceptionhandlers"/>

<bean class="org.fcrepo.session.SessionFactory" />
<context:component-scan base-package="org.fcrepo.generator, org.fcrepo.api, org.fcrepo.session"/>

<!-- Mints PIDs-->
<bean class="org.fcrepo.identifiers.UUIDPidMinter"/>
Expand Down
Expand Up @@ -7,15 +7,10 @@

<context:property-placeholder/>

<!-- show stack traces for easier debugging -->
<bean id="wildcardExceptionmapper" class="org.fcrepo.exceptionhandlers.WildcardExceptionMapper" >
<property name="showStackTrace" value="true" />
</bean>

<bean id="containerWrapper" class="org.fcrepo.test.util.ContainerWrapper" init-method="start" destroy-method="stop" >
<property name="port" value="${test.port:8080}"/>
<property name="contextConfigLocations" value="classpath:spring-test/generator.xml,classpath:spring-test/repo.xml" />
<property name="packagesToScan" value="org.fcrepo.api, org.fcrepo.generator, org.fcrepo.exceptionhandlers" />
<property name="packagesToScan" value="org.fcrepo.api, org.fcrepo.generator, org.fcrepo.session" />
</bean>

</beans>

0 comments on commit 9599ec0

Please sign in to comment.