https://github.com/tomitribe/community/tree/master/injecting-properties

Am I probably on the right track with this deltaspike thing?

I did find an article with some example code of creating a singleton to
create a properties object (cached), then I would have to:

Properties props = PropertiesCache.getInstance();
String host = props.getProperty("server.host");

Thing is, this class is hard coded to a system.properties, doesnt do CDI,
etc.

Is there already something provided in TomEE with some magic features like
@Properties(name="system.properties")



--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/Total-noob-question-system-properties-tp4674263p4674264.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to