Skip to content

Instantly share code, notes, and snippets.

@hellectronic
Created April 8, 2011 12:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hellectronic/909724 to your computer and use it in GitHub Desktop.
Save hellectronic/909724 to your computer and use it in GitHub Desktop.
Eventbus configuration with Spring
<bean id="eventbusInit" class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
<property name="targetObject" value="#{@systemProperties}" />
<property name="targetMethod" value="putAll" />
<property name="arguments">
<util:properties>
<prop key="org.bushe.swing.event.swingEventServiceClass">org.bushe.swing.event.ThreadSafeEventService</prop>
</util:properties>
</property>
</bean>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment