We are having no troubles by defining this bean:

 <bean id="wink.customPropertiesFactory"
class="org.springframework.beans.factory.config.PropertiesFactoryBean">
        <property name="locations">
            <list>
                <value>classpath:wink.properties</value>
            </list>
        </property>
    </bean>
<bean id="wink.placeholderConfigurer"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
        <property name="ignoreUnresolvablePlaceholders" value="true" />
        <property name="order" value="1" />
        <property name="propertiesArray">
            <list>
                <props>
                    <prop
key="winkPropertiesFactory">wink.customPropertiesFactory</prop>
                </props>
            </list>
        </property>
    </bean>

Where wink.properties is loaded through classpath and located in
src/main/resources and therefore in the war is placed in WEB-INF/classes

Regards.

Serafín.

2012/5/23 Edd Grant <[email protected]>

> Anyone have any guidance here?
>
> --
> View this message in context:
> http://apache-wink-users.3471013.n2.nabble.com/How-do-I-configure-a-custom-HandlersFactory-when-configuring-Wink-through-Spring-tp7570933p7572563.html
> Sent from the Apache Wink Users mailing list archive at Nabble.com.
>
>


-- 
Serafín Sedano | Software Engineer | Abiquo |  | [email protected]

Reply via email to