Trace:
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
jvx:server:lco:inject_objects [2019/12/20 14:54] admin |
jvx:server:lco:inject_objects [2019/12/20 14:55] admin |
||
---|---|---|---|
Line 30: | Line 30: | ||
</file> | </file> | ||
- | It's also possible to inject by ServiceLoader. Simply create a file with the name **com.sibvisions.rad.server.IInjectObject** in META-INF/services, in your classpath. The file should contain one line per object: | + | It's also possible to inject by ServiceLoader. Simply create a file with the name **com.sibvisions.rad.server.IInjectObject** in **META-INF/services**, in your classpath. The file should contain one line per object: |
<file bash> | <file bash> | ||
Line 36: | Line 36: | ||
</file> | </file> | ||
- | Be sure that MyInjectObject implements IInjectObject. | + | Be sure that MyInjectObject **implements IInjectObject.** |