log = sfGetCoreLog();
    public synchronized void sfDeploy() throws SmartFrogException,    RemoteException {        super.sfDeploy();        log = sfGetCoreLog();        /* find local registrations and register them */        ComponentDescription sends = (ComponentDescription)                                            sfResolve(sendRef);        Context scxt = sends.sfContext();        for (Enumeration e = scxt.keys(); e.hasMoreElements();) {            Object k = e.nextElement();            Reference l = (Reference) scxt.get(k);            EventSink s = (EventSink) sfResolve(l);            sendTo.addElement(s);        }        /* find own registrations, and register remotely */        ComponentDescription regs = (ComponentDescription)                                            sfResolve(receiveRef);        Context rcxt = regs.sfContext();        for (Enumeration e = rcxt.keys(); e.hasMoreElements();) {            Object k = e.nextElement();            Reference l = (Reference) rcxt.get(k);            EventRegistration s = (EventRegistration) sfResolve(l);            receiveFrom.addElement(s);            s.register((EventSink) this);        }    }