Steve Zavocki
Steve Zavocki

Reputation: 1840

Assistance locating jar containing Domino/XPages classes

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.

Upvotes: 1

Views: 320

Answers (1)

Cameron Gregor
Cameron Gregor

Reputation: 1460

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.

Open Type Dialog

Upvotes: 6

Related Questions