Do you look for http://tomee.apache.org/custom-injection.html?
Le 6 sept. 2012 03:11, "exabrial" <[email protected]> a écrit :

> David, if I promise to put the information on the wiki, will you tell me
> how
> to inject a String from a server environment properties file again?
>
> My goal is to have this in my code:
>
> @Resource(name="myApp/adminEmailAddress", type=String.class)
> private String adminEmailAddress;
>
> If I heard you right (I _was_ drinking beer at the time), you said there's
> a
> properties file in the server that I could set this in. I don't want to do
> <env-entry> in xml files in my jar; I'm hoping I can set this on the
> server.
>
> Thanks!
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Environmental-Entries-tp4657303.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Reply via email to