Trace:
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
applications:user:dynamic_objects [2019/12/20 15:21] admin |
applications:user:dynamic_objects [2019/12/20 15:22] admin |
||
---|---|---|---|
Line 40: | Line 40: | ||
This object must be [[jvx:server:lco:inject_objects|injected]] in your Session LCO e.g. via ServiceLoader. If it's injected, the API call | This object must be [[jvx:server:lco:inject_objects|injected]] in your Session LCO e.g. via ServiceLoader. If it's injected, the API call | ||
- | <file> | + | <file java> |
((ProjX)getApplication()).getDynamicContent("userDetails"); | ((ProjX)getApplication()).getDynamicContent("userDetails"); | ||
</file> | </file> | ||
Line 46: | Line 46: | ||
will return the Bean instance of your DynamicUserContent. | will return the Bean instance of your DynamicUserContent. | ||
- | So, it's super easy to inject objects and make it accessible in your application without changing your application code. | + | So, it's super easy to inject an object and make it accessible in your application without changing your application code. |