How to get the “ca xml”-Database object from a eclipse/java plugin? I want to use the “ca xml”-Database for configuration documents. Is there a way to get the database server and path. Or an other way.
Here an example:
NotesJob job = new NotesJob("Get the Composite Application DB") {
protected IStatus runInNotesThread(IProgressMonitor mon) {
Session session = NotesPlatform.getInstance().getSession();
try {
Database db = session.getCAIDatabase(); <-- There is no method like this!
System.err.println("This is the CA XML Database: " +db.getTitle());
} catch (NotesException e) {
e.printStackTrace();
}
return Status.OK_STATUS;
}
};
job.schedule();