Examples of Notifier


Examples of org.apache.maven.model.Notifier

            if ( ( ciManagement.getNotifiers() != null ) && ( ciManagement.getNotifiers().size() > 0 ) )
            {
                serializer.startTag( NAMESPACE, "notifiers" );
                for ( Iterator iter = ciManagement.getNotifiers().iterator(); iter.hasNext(); )
                {
                    Notifier o = (Notifier) iter.next();
                    writeNotifier( o, "notifier", serializer );
                }
                serializer.endTag( NAMESPACE, "notifiers" );
            }
            serializer.endTag( NAMESPACE, tagName );
View Full Code Here

Examples of org.apache.maven.model.Notifier

                elIt = null;
            }
            Counter innerCount = new Counter( counter.getDepth() + 1 );
            while ( it.hasNext() )
            {
                Notifier value = (Notifier) it.next();
                Element el;
                if ( elIt != null && elIt.hasNext() )
                {
                    el = (Element) elIt.next();
                    if ( !elIt.hasNext() )
View Full Code Here

Examples of org.beangle.notification.Notifier

*/
public class ConsoleNotifierTest {

  @Test
  public void testSendMessage() throws Exception {
    Notifier notifier = new ConsoleNotifier();
    SimpleMessage context = new SimpleMessage();
    context.setText("hello world");
    notifier.sendMessage(context);
  }
View Full Code Here

Examples of org.codehaus.plexus.notification.notifier.Notifier

        // ----------------------------------------------------------------------
        //
        // ----------------------------------------------------------------------

        Notifier notifier = (Notifier) lookup( Notifier.ROLE, "mail" );

        notifier.sendNotification( ContinuumNotificationDispatcher.MESSAGE_ID_BUILD_COMPLETE, recipients, context );

        // ----------------------------------------------------------------------
        //
        // ----------------------------------------------------------------------
View Full Code Here

Examples of org.eclipse.emf.common.notify.Notifier

        public void turnOffEvents() {
            Iterator allIter = getProjectRegistry().eResource().getResourceSet().getAllContents();
            while (allIter.hasNext()) {
                Object tmp = allIter.next();
                Notifier obj = (Notifier) tmp;
                if (obj != null) {
                    obj.eSetDeliver(false);
                }
            }
        }
View Full Code Here

Examples of org.jboss.cache.notifications.Notifier

      if (!suppressNotification)
      {
         if (nodesCreated.size() > 0)
         {
            Notifier n = cache.getNotifier();
            for (Fqn temp : nodesCreated)
            {
               n.notifyNodeCreated(temp, true, ctx);
               n.notifyNodeCreated(temp, false, ctx);
               if (trace) log.trace("Notifying cache of node created in workspace " + temp);
            }
         }
      }
   }
View Full Code Here

Examples of org.jboss.xnio.IoFuture.Notifier

                                cc.connecting = true;
                                java.nio.channels.Channel xnioChannel = cc.xnioChannel;
                                if (xnioChannel == null) {
                                    FutureConnection fc =
                                        cc.xnioConnector.connectTo(value, HANDLER);
                                    fc.addNotifier(new Notifier() {
                                        public void notify(
                                                IoFuture future, Object attachment) {
                                            ChannelFuture cf = (ChannelFuture) attachment;
                                            try {
                                                java.nio.channels.Channel xnioChannel = (java.nio.channels.Channel) future.get();
View Full Code Here

Examples of org.lightfish.business.escalation.entity.Notifier

        timerService.createCalendarTimer(expression);
    }

    private void persistDefaultConfiguration() {
        if (notificationStore.getNotifier("comet-escalator") == null) {
            Notifier configuration = new Notifier.Builder()
                    .name("comet-escalator")
                    .transmitterId("comet")
                    .configuration(new CometTransmitterConfiguration())
                    .system(true)
                    .build();
View Full Code Here

Examples of org.lightfish.business.escalation.entity.Notifier

        }
        return "/escalation/configuration?faces-redirect=true";
    }

    public String save() {
        Notifier config = new Notifier.Builder()
                .name(name)
                .configuration(transmitterConfiguration)
                .transmitterId(notifierId)
                .build();
        notificationStore.save(config);
View Full Code Here

Examples of org.lightfish.business.escalation.entity.Notifier

    public Notifier save(Notifier configuration) {
        return this.em.merge(configuration);
    }

    public void delete(String name) {
        Notifier script = em.getReference(Notifier.class, name);
        em.remove(script);
    }
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.