How to get custom ILinkType registered by ILinkTypeRegistry
![]()
We define some custom ILinkType IDs to use in our own RTC extensions:
<plugin>
We have a Plain Java Client packaged as JAR and we need to refer to these link types. If we add our plug-in to the classpath definied in the MANIFEST.MF file from JAR:
Class-Path: . lib/it.secservizi.rtc.common_4.0.7.jar
the ILinkType are not registered by the ILinkTypeRegistry instance at runtime.
Instead, we have to explicity add our plug-in to the Java classpath:
java -cp .;lib/it.secservizi.rtc.common_4.0.7.jar -jar it.secservizi.rtc.client_4.0.7.jar
to get our plug-in parsed by the ILinkTypeRegistry instance at runtime.
Any advice? We would be able to declare all the dependencies for our client in to the MANIFEST.MF file of the JAR.
Thanks in advance.
|
One answer
![]()
Far as I know, the plugin approach is the only one that works today.
I know there was an enhancement request for dynamic addition of LinkTypes, but I can't find it |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.