As a workaround, encapsulate a non-static function in a static function and compile the encapsulating class to get the .class file.
• Java types supported are: Object, String, Calendar (which displays in TIBCO BusinessEvents as DateTime), Integer, Long, Double, Boolean, int, long, double, and boolean (but not byte, short, float, or char).The functions.catalog file makes functions available for use in TIBCO BusinessEvents Studio. The structure of the file requires each function within a class to have a unique name. Because of this structure, you cannot refer to an overloaded function in functions.catalog.For example, the standard Java library has several String.valueOf() functions overloaded for each primitive type (String.valueOf(int i), String.valueOf(double d) and so on). However, the TIBCO BusinessEvents standard function catalog has a separate function name for each data type: valueOfBoolean(), valueOfDouble(), valueOfInt(), and valueOfLong().If you need to edit custom functions, you must do so in a Java editor or project, and then re-export them to a custom function JAR. Add the JAR to the TIBCO BusinessEvents project, as explained in Adding Custom Functions.
Copyright © TIBCO Software Inc. All Rights Reserved.