JAVA/CORBA クラス


例:Parent プロパティ
次のエージェントは、親セッションのユーザー名を表示します。

import lotus.domino.*;
public class JavaAgent extends AgentBase {
 public void NotesMain() {
   try {
     Session session = getSession();
     AgentContext agentContext = session.getAgentContext();
     // (Your code goes here)
     International inat = session.getInternational();
     System.out.println("Parent user name = " +
     inat.getParent().getUserName());
   } catch(Exception e) {
     e.printStackTrace();
   }
 }
}

関連項目