protected Session getSession() {
   try {
     Session session = Factory.fromLotus(NotesFactory.createSession(), Session.class, null);
     return session;
   } catch (Throwable t) {
     DominoUtils.handleException(t);
     return null;
   }
 }
Esempio n. 2
0
  static {
    try {
      session = NotesFactory.createSession((String) null, (String) null, Authentication.getInfo());
      thisDb = session.getCurrentDatabase();

    } catch (NotesException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }
  }