[seam-issues] [JBoss JIRA] (SOLDER-48) Provide injectable system properties
Jozef Hartinger (Updated) (JIRA)
jira-events at lists.jboss.org
Wed Oct 26 11:36:45 EDT 2011
[ https://issues.jboss.org/browse/SOLDER-48?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jozef Hartinger updated SOLDER-48:
----------------------------------
Fix Version/s: 3.1.0.CR1
Git Pull Request: https://github.com/seam/solder/pull/46 (was: https://github.com/seam/solder/pull/46)
> Provide injectable system properties
> ------------------------------------
>
> Key: SOLDER-48
> URL: https://issues.jboss.org/browse/SOLDER-48
> Project: Seam Solder
> Issue Type: Feature Request
> Components: Core
> Reporter: Dan Allen
> Priority: Minor
> Fix For: 3.1.0.CR1
>
>
> To compliment the generic java.util.Properties resource loader, Solder should allow the system properties (System.getProperties()) to be injected.
> Introduce @System for this purpose (to complement @Client):
> @Inject @System Properties properties;
> Consider naming the system properties so they can be referenced from EL.
> @Named("sysProp")
> It could then be used as:
> #{sysProp['os.name']}
> A singular name is being suggested to be consistent with other implicit EL variables, such as initParam, param and header.
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list