-
Notifications
You must be signed in to change notification settings - Fork 0
Shared Library
A Shared Library (short Shared Lib) is a set of JAR files that can be used by several plugins of the Xyna Factory like Service Groups, Triggers and Filters.
This provides a way to share context between different plugins and saves memory in comparison to the reuse individual copies of the JAR files in different places.
Shared Libs are defined in Runtime Contexts and can be shared between them by defining Requirements.
The Shared Lib is stored in the folder $XYNA_HOME/revisions/rev_<id>/saved/sharedLibs/<sharedlibname>/
in the Revision corresponding to the Workspace you are working in. Create it if necessary, then copy all JAR files into that folder.
In order to activate the changes, execute the CLI command
<syntaxhighlight lang="bash"></syntaxhighlight>
./xynafactory.sh '''deploysharedlib''' -sharedLibName <arg></arg> [-applicationName] [-versionName]<arg>]
</syntaxhighlight></arg>