hi all,
i just configured "PropertyPlaceholderConfigurer" in a .jar file and load a
.properties file to initiate bean parameters as follows

<bean id="propertyConfigurer"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
        <property name="locations">
                <list><value>classpath:wmq.properties</value></list>
        </property>
</bean>

when i'm using this .jar file in a module that has another placeholder and
needs to configure another "PropertyPlaceholderConfigurer", the definition
of the module overwrite the definition of .jar file and "wmq.properties"
does not load and bean creation that has placeholder in .jar file fails.
i don't want to place "<value>classpath:wmq.properties</value>" tag in the
upper module.
how can i solve this problem? any scoping mechanism exist to help me?
regards
-- 
View this message in context: 
http://www.nabble.com/PropertyPlaceholderConfigurer-in-jar-file-tp24644479s2369p24644479.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to