[ 
https://issues.apache.org/jira/browse/TOMEE-28?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13274336#comment-13274336
 ] 

Romain Manni-Bucau commented on TOMEE-28:
-----------------------------------------

is it still relevant? if you speak about <environment> in <context> i thought 
it was done in OpenEJBNamingContextListener
                
> 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

        

Reply via email to