[
https://issues.apache.org/jira/browse/TOMEE-28?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Romain Manni-Bucau closed TOMEE-28.
-----------------------------------
Resolution: Fixed
please reopen if still relevant
> Support for global environment entries (defined as <Environment> in
> server.xml)
> -------------------------------------------------------------------------------
>
> Key: TOMEE-28
> URL: https://issues.apache.org/jira/browse/TOMEE-28
> Project: TomEE
> Issue Type: New Feature
> Affects Versions: 1.0.0-beta-1
> Reporter: Jacek Laskowski
> Assignee: Jacek Laskowski
> Fix For: 1.0.0-beta-1
>
>
> Define <Environment name="number" value="10" type="java.lang.Integer" /> in
> conf/server.xml and access it with @Resource(name="number") in a servlet. The
> field won't get assigned the value from server.xml.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira