jpos / jPOS-EE

jPOS Extended Edition
http://jpos.org
GNU Affero General Public License v3.0
107 stars 152 forks source link

Sugar for Configuration access in Groovy. #305

Open alcarraz opened 4 months ago

alcarraz commented 4 months ago

This PR, just adds a convenient way to reference configuration String properties.

A nice addition would be to call getXXX by using method overloading by return type, that, even when java doesn't allow it, the JVM does. I kind of remember having read somewhere that groovy does, but I'm not sure, and I couldn't find the syntax.

It doesn't have much sense to worry about it anyway if there isn't a use case for that.