The docs mention a way of obtaining properties in code from a resource in
Tomee.xml, under "Custom resources"

http://tomee.apache.org/application-resources.html

..such that I could denote a class-name on the resource pointing to a
configuration class (which would be pretty boilerplate, judging by the
example). But in order to do this, I have to package the config class in
TomEE's /lib directory. This introduces some complications in my case, for
other reasons.. I was wondering if there's any other way to obtain these
resource properties without having to add anything to TomEE's classpath.

Thanks,
-Kean

Reply via email to