Assistance locating jar containing Domino/XPages classes

£可爱£侵袭症+ 提交于 2019-12-08 04:09:04

问题


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.

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; 

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.

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.


回答1:


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:

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)

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

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.



来源:https://stackoverflow.com/questions/29657784/assistance-locating-jar-containing-domino-xpages-classes

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!