Skip to content

Commit

Permalink
Using c: syntax for constructor arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
escowles committed Apr 15, 2015
1 parent c8c6bfd commit 1e4974d
Showing 1 changed file with 9 additions and 8 deletions.
Expand Up @@ -2,9 +2,12 @@
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:c="http://www.springframework.org/schema/c"
xmlns:util="http://www.springframework.org/schema/util"
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">
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd">

<!-- Context that suports event management, including the internal
event bus (fedoraInternalEventBus) -->
Expand All @@ -15,13 +18,11 @@
<bean class="org.fcrepo.kernel.impl.observer.SimpleObserver"/>

<!-- used by bean above to filter which events get put on the bus -->
<bean name="fedoraEventFilter" class="org.fcrepo.kernel.impl.observer.SuppressByMixinFilter">
<constructor-arg>
<set>
<value>ldp:DirectContainer</value>
</set>
</constructor-arg>
</bean>
<util:set id="suppressedMixins">
<value>ldp:DirectContainer</value>
</util:set>
<bean name="fedoraEventFilter" class="org.fcrepo.kernel.impl.observer.SuppressByMixinFilter"
c:suppressedMixins-ref="suppressedMixins"/>

<!-- used by observer bean to map JCR events into Fedora events -->
<bean name="fedoraEventMapper" class="org.fcrepo.kernel.impl.observer.eventmappings.AllNodeEventsOneEvent"/>
Expand Down

0 comments on commit 1e4974d

Please sign in to comment.