whirlwind-match / fuzzydb

fuzzydb is a fuzzy matching database engine capable of providing human-like search results that make life much easier for users of websites searching for things like cars, houses, people and jobs.
19 stars 5 forks source link

Implement bean for <wwm:initialise ...> #13

Closed nealeu closed 13 years ago

nealeu commented 13 years ago

Initially, just do this with InitialisingBean afterPropertiesSet and then add XML sugar later

Bean should be:

<bean class="com.wwm.spring.StoreInitializer" dataSource="storeRef" resource="classpath:matchingConfig.xml" />
nealeu commented 13 years ago

Implemented in SHA: 530db5ed7639544e1f3fc369401feeecc4af64c3, with data source autowired.

Implemented syntax example is:

<bean class="com.wwm.db.spring.StoreInitializer" 
    p:resource="classpath:propertyMatchingConfig.xml" />