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) Database db = agentContext.getCurrentDatabase(); Replication rep = db.getReplicationInfo(); if (rep.getDontSendLocalSecurityUpdates()) rep.setDontSendLocalSecurityUpdates(false); else rep.setDontSendLocalSecurityUpdates(true); rep.save(); System.out.println("DontSendLocalSecurityUpdates = " + rep.getDontSendLocalSecurityUpdates()); } catch(Exception e) { e.printStackTrace(); } } }