[jboss-jira] [JBoss JIRA] Closed: (JBCACHE-1218) System property substitution in config file parsing
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Fri Apr 4 11:15:38 EDT 2008
[ http://jira.jboss.com/jira/browse/JBCACHE-1218?page=all ]
Brian Stansberry closed JBCACHE-1218.
-------------------------------------
Fix Version/s: 2.1.1.GA
Resolution: Done
> System property substitution in config file parsing
> ---------------------------------------------------
>
> Key: JBCACHE-1218
> URL: http://jira.jboss.com/jira/browse/JBCACHE-1218
> Project: JBoss Cache
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Reporter: Brian Stansberry
> Assigned To: Brian Stansberry
> Fix For: 2.1.1.GA, 2.2.0.GA
>
>
> Since JBC parses its own config files it would be nice to support the ${some.system.property:somedefault} syntax. This should be trivial to do; just add callouts to org.jboss.util.StringPropertyReplacer.replaceProperties(String) in XmlHelper.getAttributeValue() and XmlHelper.getElementContent().
> This could even be helpful in JBoss AS if XmlParsingConfigurationRegistry is used -- the normal AS parsing wouldn't be used in that case. But, it would be simple enough though for me to write a different ConfigurationRegistry that had its config injected from MC beans rather than parsing the XML itself.
> Manik, I left this assigned to you to give you a shot at making any inputs. If you think its worthwhile, feel free to assign back to me.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list