Spring placeholders

Kurz notiert:
Wichtigste Notizen zum Thema Platzhalter in Spring.

<!-- property placeholder post-processor -->
<bean id="placeholderConfig" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
  <property name="location" value="classpath:dao.properties"/>
  <!-- property name="searchSystemEnvironment" value="true"/-->
  <property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE"/>
<bean id="abstractDao" class="org.xxx.AbstractXStreamDAOImpl" abstract="true">
  <property name="baseDir"><value>${user.home}</value></property>


Tags:, ,

Leave a Reply »»

Note: All comments are manually approved to avoid spam. So if your comment doesn't appear immediately, that's ok. Have patience, it can take some days until I have the time to approve my comments.