Trace: • Compiling JVx • DataSourceHandler and DBCredentials
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
jvx:server:lco:inject_objects [2020/06/15 10:59] cduncan Edited for English grammar (capitalization, punctuation, correct verb conjugation) |
jvx:server:lco:inject_objects [2020/06/26 12:53] (current) cduncan |
||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTRANS~~ | ~~NOTRANS~~ | ||
~~Title: Object Injection~~ | ~~Title: Object Injection~~ | ||
- | Sometimes it's important to add external objects in your running application without additional coding. We have an injection mechanism which is pretty simple. It's possible to inject custom Java objects or objects which implements the interface **IInjectObject**. The difference is that simple objects don't use an init method: | + | Occasionally, it's important to add external objects in your running application without additional coding. We have an injection mechanism which is pretty simple. It's possible to inject custom Java objects or objects which implements the interface **IInjectObject**. The difference is that simple objects don't use an init method: |
<file java> | <file java> |