Custom Functions
Using TIBCO BusinessEvents you can define custom functions and expose them as catalog functions or mapper functions. By exporting the project containing the custom Java functions to a project libary, the custom Java functions can be used in other projects.
- Adding Custom Java Functions
Using TIBCO BusinessEventsyou can define custom functions and expose them as catalog functions. By exporting the project containing the custom Java catalog functions to a project library, the custom Java functions can be used in other projects. - Adding Libraries
TIBCO BusinessEvents core libraries are automatically added to the Java Build Path. - Importing Old Projects
When older projects are imported to a 5.2 environment, the project nature is updated to include the Java nature. The .project file contains the following entries: - Compiling Project and Building an EAR File
There is no change in the process to compile and build an EAR file. - Debugging
While debugging the projects, you can use Java breakpoints to step into the custom functions code. Java debug breakpoints and rulefunction breakpoints work seamlessly, allowing you to step into the code after hitting a breakpoint and inspect the values of the variables as they change. - Annotations Reference
- Considerations when Defining the Functions
Java methods defining the functions can have primitive data types, or Concept, Event and Object. They can return any primitive data types or Concept, Event and Object.
Copyright © TIBCO Software Inc. All rights reserved.