Developing Apama Applications > Developing Correlator Plug-ins > Writing Correlator Plug-ins in Java > Sample plug-ins in Java > A more complex plug-in in Java
A more complex plug-in in Java
The complex plug-in sample in the samples\correlator_plugin\java directory of your Apama installation is comparable to the corresponding C and C++ complex plug-in samples.
The Java code for the ComplexPlugin class contains the public static methods: test1, test2, test3, and test4. It also contains an object, ComplexChunk that represents a complex type.
The complex_plugin.xml file is the plug-in's deployment descriptor and contains the <plugin> stanza that specifies the name, class, and description for the plug-in.
The sample's ComplexPlugin.mon file contains the EPL code for the Apama application. It imports the plug-in and calls the various testx methods.
Copyright © 2013-2015 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.