Examples of notify()


Examples of net.sf.jiga.xtended.kernel.Monitor.notify()

                }

                mt.removeImage(bgImg, hashCode());
                mt.removeImage(display, hashCode());

                monitor.notify();

            }

        } catch (InterruptedException ex) {
View Full Code Here

Examples of net.sf.libgrowl.GrowlConnector.notify()

    Notification jenkinsNotify = new Notification(jenkinsApp, buildNotify, buildName, messageText);
    jenkinsNotify.setSticky(true);
    jenkinsNotify.setCallBackURL(message.getUrl());

    // if growl can't send notification, try to send to mac.
    if (growl.notify(jenkinsNotify) != IResponse.OK){
      MacGrowler notifier = MacGrowler.register( appName, password, clientIp);
      notifier.notify( appName, buildName, messageText, password);
    }
  }
 
View Full Code Here

Examples of net.windwards.dnsfrontend.api.Backend.notify()

        // Park this query awaiting result from backend
        this.waitHere.keep(this);
        try {
            // Notify backend we need an update
            backend.notify(question);
        } catch (NoSuchDomainException e) {
            this.waitHere.discard(this);
            this.unknown();
        } catch (BackendCommunicationException e) {
            this.waitHere.discard(this);
View Full Code Here

Examples of org.activiti.engine.delegate.ExecutionListener.notify()

    if (executionListeners.size()>executionListenerIndex) {
      execution.setEventName(org.activiti.engine.impl.pvm.PvmEvent.EVENTNAME_TAKE);
      execution.setEventSource(transition);
      ExecutionListener listener = executionListeners.get(executionListenerIndex);
      try {
        listener.notify(execution);
      } catch (RuntimeException e) {
        throw e;
      } catch (Exception e) {
        throw new PvmException("couldn't execute event listener : "+e.getMessage(), e);
      }
View Full Code Here

Examples of org.activiti.engine.delegate.TaskListener.notify()

        final String componentId = getComponentId(delegateTask);
        final TaskListener listener = getWorkflowTaskRegistry().findTaskListener(componentId);

        Assert.notNull(listener, String.format("No TaskListener found for componentId %s.", componentId));

        listener.notify(delegateTask);
    }
}
View Full Code Here

Examples of org.apache.agila.impl.memory.NotificationServiceImpl.notify()

    public void testSimple() throws Exception {

        NotificationServiceImpl nsi = new NotificationServiceImpl();

        NotificationID id = nsi.notify(new UserID(1), "test message");

        assertTrue(id != null);
        assertTrue(id.getID() == 1);

        Notification impl =  nsi.getNotification(id);
View Full Code Here

Examples of org.apache.cxf.wsn.client.NotificationBroker.notify()

        // Create new email object to send
        Email mail =  new Email("standalone@client.com","you@gotmail.com","This is the standalone client speaking","This thing works!");

        // Send a notification on the Topic
        notificationBroker.notify(topic,mail);

        // Just sleep for a bit to make sure the notification gets delivered
        Thread.sleep(5000);

        // Cleanup and exit
View Full Code Here

Examples of org.apache.hadoop.hbase.master.SplitLogManager.Task.notify()

      LOG.debug("deleted task without in memory state " + path);
      return;
    }
    synchronized (task) {
      task.status = DELETED;
      task.notify();
    }
    SplitLogCounters.tot_mgr_task_deleted.incrementAndGet();
  }

  private void deleteNodeFailure(String path) {
View Full Code Here

Examples of org.apache.jetspeed.aggregator.Worker.notify()

                    if (job.getTimeout() > 0) {
                        workersMonitored.add(worker);
                    }

                    worker.notify();
                    runningJobs++;
                }
            }
            catch (Throwable t)
            {
View Full Code Here

Examples of org.apache.jetspeed.daemon.DaemonThread.notify()

        if (status != Daemon.STATUS_PROCESSING &&
            status != Daemon.STATUS_UNKNOWN &&
            dt != null) {
            //tell this thread to stop waiting and process immediately
            synchronized (dt) {
                dt.notify();
            }
           
        }

        if ( dt != null && dt.isAlive() == false ) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.