简体   繁体   English

Tibco BE引擎中的jar文件

[英]Jar file in tibco BE engine

I have a jar file .I want to include it into BE and want the output to be same as in eclipse. 我有一个jar文件。我想将其包含在BE中,并希望输出与eclipse中的相​​同。 How do I add this file and use the methods of it. 如何添加此文件并使用它的方法。 I tried adding it into the build path of the project folder but the methods are not coming under CUstom Functions.I am not sure if this is the correct way or not How do i go about it.? 我尝试将其添加到项目文件夹的构建路径中,但方法不在CUstom Functions下。我不确定这是否是正确的方法。 Help required. 需要帮助。

Your jar file needs to contain a file called "functions.catalog" that describes the static methods of your classes that are exposed to BE as custom functions. 您的jar文件需要包含一个名为“ functions.catalog”的文件,该文件描述了将BE作为自定义函数公开的类的静态方法。 The XML format for functions.catalog is described in the dev guide (Chapter 18 in BE 5.1.1's Developer's Guide). functions.catalog的XML格式在开发指南(BE 5.1.1的《开发人员指南》中的第18章)中进行了描述。

Note that you can only expose static methods to BE. 请注意,您只能将静态方法公开给BE。 So a "classical" library will require you to write static wrapper methods around everything that is non-static. 因此,“经典”库将要求您围绕所有非静态内容编写静态包装方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM