Java Template - Xyna-Factory/xyna GitHub Wiki

A Java Template is an [Eclipse]] project with template [[Java]] classes. Templates are generated from a certain [[Data Type]], [[Service Group]], [[Trigger]] or [[Filter]]. The generated classes are named according to the originating Data Type, Service Group, Trigger and Filter, respectively, and supply empty function bodies. In case of Data Types and Service Groups there are function bodies including an appropriate signature for each [[Instance Service]] in a DataType and [[Coded Service]] inside the Service Group. The implementation of an Instance Service, a Coded Service, a Trigger or a Filter is a matter of filling those function bodies. The Java Template also provides [Ant scripts to deploy the changes on a Xyna Factory instance.

To generate a Java Template, use the factory cli:

  • Filter: ./xynafactory.sh buildfilterproject

  • Data Type and Service Group: ./xynafactory.sh buildserviceprojectjava

  • Trigger: ./xynafactory.sh buildtriggerproject

See Also