History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: HBR-38
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Normal Normal
Assignee: Beto Software
Reporter: Beto Software
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Hibero

Support Spring property placeholders

Created: 14 Nov 06 23:13   Updated: 26 Jan 07 19:06
Component/s: Configuration
Affects Version/s: 2.0, 2.0.1
Fix Version/s: 2.0.2

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
Bean properties defined at a Spring context file using property placeholders (i.e., ${...}) are not configured properly (i.e., their values are not set to the placeholder value).

 All   Comments   Work Log   Change History      Sort Order:
Beto Software - 14 Nov 06 23:18
Fixed using ApplicationContext instead of BeanFactory.

Following bean definition should be added to the context file:

<bean id="placeholderConfig" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="location" value="some_file.properties"/>
</bean>

The properties files must be found at the project classpath.