Developing a custom-function library
A sample implementation of
IFunctionLibrary is included below in
Sample IFunctionLibrary implementation.
Your implementation of
IFunctionLibrary must implement the following methods:
getFunctionDescriptors: Creates a function descriptor for each function that the library supports; returns a list of
com.apama.dashboard.function.IFunctionDescriptors. This method is called once at Data Server or Display Server startup. See
Implementing getFunctionDescriptors.
When you compile your implementation, ensure that ap-dashboard-client.jar is on your class path. This jar file is in the lib directory of your Apama installation.