Developing Apama Applications > Building Dashboards > Using Dashboard Functions > Creating custom functions > Developing a custom-function library
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.
*evaluateFunction: Returns the result of executing a specified function with specified arguments. See Implementing evaluateFunction.
When you compile your implementation, ensure that dashboard_client5.1.jar is on your class path. This jar file is in the lib directory of your Apama installation.
Copyright © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.