Would people be opposed to felix scr supporting property replacement
something like (à la spring PropertyPlaceholderConfigurer):

// implied from bundle runtime details
@Reference(target = "(service.bundleid=${bundle.id})")

// implied from bundle headers
@Reference(target = "(context.path=${Web-ContextPath})")

etc.

One might overload the KXml2SAXParser.getAttributeValue(i) method which
scans for replaceable tokens where KXml2SAXParser is passed the bundle in
it's constructor.

-- 
*Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
 (@rotty3000)
Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
 (@Liferay)
Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org> (@OSGiAlliance)

Reply via email to