I'm looking to create a JNDI lookup for a String resource, but can't quite figure out how to configure it in AS7. I looked in the standalone-preview.xml file, but do not see any examples that would enable me to understand how I can configure a JNDI lookup with a simple string (URL) as a return value. I tried looking through the docs, but do not see anything there either.
From https://community.jboss.org/message/644991#644991, I believe that this can be done by adding an object-factory binding to the naming subsystem, but I cannot find any documentation on how do define the object-factory and/or even what it is or how it works (ie: what parameters must be set, what the parameters mean, etc).
Can anyone point me in the right direction please?
jaikiran pai wrote:
If you want to bind a simple string value, then all you need to do is https://community.jboss.org/message/641742#641742
Thanks so much! I spent hours searching for that answer (docs, google, etc) and was unable to find it anywhere. Thanks for the link!
|Retrieving data ...|