[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3887) Allow configuration of seam components from System properties

Pete Muir (JIRA) jira-events at lists.jboss.org
Thu Jan 8 06:19:04 EST 2009


    [ https://jira.jboss.org/jira/browse/JBSEAM-3887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12445824#action_12445824 ] 

Pete Muir commented on JBSEAM-3887:
-----------------------------------

Nice one, please apply, though perhaps initPropertiesFromProperties should be initPropertiesFromFile?

> Allow configuration of seam components from System properties
> -------------------------------------------------------------
>
>                 Key: JBSEAM-3887
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3887
>             Project: Seam
>          Issue Type: Patch
>          Components: Core
>            Reporter: Clint Popetz
>            Assignee: Clint Popetz
>            Priority: Minor
>         Attachments: Initialization.java.patch
>
>
> It is often required to push a single deployment to multiple types of servers (different testing servers, mirrors, backups, etc.), and so it would be nice to be able to configure seam components with -D on startup of the container.  The attached patch looks for system properties with names like "org.jboss.seam.properties.NAME" for component NAME and treats them just like NAME=value in seam.properties.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list