JAVA/CORBA CLASSES
import lotus.domino.*; public class JavaAgent extends AgentBase { public void NotesMain() { try { Session session = getSession(); AgentContext agentContext = session.getAgentContext(); // (Your code goes here) Log log = session.createLog("Program name file"); log.openFileLog("progname.log"); System.out.println ("Program name = \"" + log.getProgramName() + "\""); log.close(); } catch(Exception e) { e.printStackTrace(); } } }
See Also