Sorry, forgot to quote the XML snippet.
"swruch" wrote :
| Hopefully I haven't missed something obvious, I've been searching for a few
hours for the answer to this, to no avail...
|
| In Spring, I would do this:
|
|
| |
| |
| |
Interestingly, it's exactly the same.
See any -jboss-beans.xml, and just copy your snippet properly.
Or you wanna know how to pull something out of JNDI?
There is JNDIKernelRegistryPlugin that does that for you.
You must simply add it as a bean.
Note: it adds some performance penalty as once it's
Thanks, I was able to get it working with the JNDIKernelRegistryPlugin. I'm
not using Spring here, so I prefer the native mechanism.
For those who come looking for a solution, here's what it looks like. In this
case, I'm injecting a DataSource that is bound as "java:/MySqlDS":
|
|