包含Domino/XPages类的辅助定位jar [英] Assistance locating jar containing Domino/XPages classes

查看:83
本文介绍了包含Domino/XPages类的辅助定位jar的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在与一个Java开发人员合作,他正在编写需要使用多线程的jar.今天我们发现Domino使用NotesThread类来管理使用线程的方式.他正在更改自己的代码以多米诺"方式进行操作.传统的Java 1.6方式行不通.

I am working with a java developer who is writing a jar that needs to use multi-threading. We discovered today that Domino is managing the way that it uses threads using the NotesThread class. He is in the process of changing his code to do it the "domino" way. The traditional java 1.6 way is not going to work.

他要我提供包含以下类的jar,以便他可以构建自己的解决方案.有人可以指出我这些瓶子中包含哪些类.

He is asking me for the jar that contain the following classes so he can build his solution. Can someone point me to what jar contains these classes.

com.ibm.domino.xsp.module.nsf.NSFComponentModule;
com.ibm.domino.xsp.module.nsf.NotesContext;
com.ibm.domino.xsp.module.nsf.SessionCloner; 

注意:我已经将我在计算机上安装的每个XPages和ExtLib jars都发送给了他,但他仍然遇到计算错误.

Note: I have sent him most every XPages and ExtLib jars that I had on my machine and he is still getting a computation error.

此外,我不是100%肯定他正在使用NotesThread,所以我最近发现了这一点: http://www.wissel.net/blog/d6plinks/SHWL-99U64Q 并将其发送给他.也许他只需要管理NotesContext和Session.首先,我需要把他需要的那个罐子拿给他,因此是这个问题.开发人员没有安装Notes Designer.他使用Rational Application Developer来编写他的jar.

Also, I am not 100% sure he is using NotesThread, I recently found this: http://www.wissel.net/blog/d6plinks/SHWL-99U64Q and sent it to him. Perhaps all he needs is to manage the NotesContext and Session. First I need to get him the jar he needs, hence this question. The developer does not have Notes Designer installed. He uses Rational Application Developer to write his jar.

推荐答案

我看到Frantisek为您寻找的瓶子指明了正确的方向. 但是,如果您需要自己找一个,这里是这样:

I see Frantisek has pointed you in the right direction for the jar you are looking for. However, if you need to find one yourself here is how:

在Domino Designer中,转到Java设计元素的编辑器(打开一个现有的.java文件或创建一个新文件,您只需要位于Java编辑器中即可(或选择切换到"Java"透视图)

In Domino Designer, go to the Editor for Java Design Element (either open an existing .java file or create a new one, you just need to be in the Java Editor. (or alternatively switch to the 'Java' perspective)

然后按"Ctrl + Shift + T",这是打开类型"对话框的快捷方式.

Then press 'Ctrl + Shift + T' which is the shortcut for the 'Open Type' dialog.

使用打开类型"对话框,您可以搜索Java类,并且可以打开源".在这种情况下,我们将无法打开源,但是它将告诉我们从何处获取.class文件.

The Open Type dialog lets you search for a Java Class and will open the Source if it can do so. In this case we won't be able to open the source, but it will tell us where it is getting the .class file from.

打开类型"搜索将为您显示匹配的类,如果您单击其中一个类,它将在对话框底部的字段中显示类/源的位置.

The Open Type search will show you matching classes for your search, and if you click one of the classes, it will show you the location of the class/source in the field at the bottom of the dialog.

这篇关于包含Domino/XPages类的辅助定位jar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆