Examples of Notifier


Examples of ch.rakudave.jnetmap.plugins.Notifier

    @Override
    public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) {
      JLabel label = (JLabel) super.getListCellRendererComponent(list,
          value, index, isSelected, cellHasFocus);
      if (value == null) return label;
      Notifier l = (Notifier) value;
      label.setText((showName)?l.getPluginName()+": "+l.getName():l.getPluginName());
      label.setIcon(l.getIcon());
      return label;
    }
View Full Code Here

Examples of com.adito.notification.Notifier

        }
        if (!queueDir.canWrite() || !queueDir.canRead()) {
            throw new ServletException("Message queue directory " + queueDir.getAbsolutePath() + " has incorret permissions.");
        }
        try {
            notifier = new Notifier(queueDir);
        } catch (IOException e2) {
            log.error("Notifier failed to initialise.", e2);
            throw new ServletException(e2);
        }
        try {
View Full Code Here

Examples of com.adito.notification.Notifier

     * @param session
     */
    public void initialize(HttpSession session) {
        super.initialize(session, "subject");
        getModel().clear();
        Notifier notifier = CoreServlet.getServlet().getNotifier();
        synchronized(notifier) {
            List messages = notifier.getMessages();
            for(Iterator itr = messages.iterator(); itr.hasNext(); ) {      
                Notifier.MessageWrapper next = (Notifier.MessageWrapper)itr.next();
                getModel().addItem(new MessageTableItem((next)));               
            }
            List<MessageSink> messageSinks = CoreServlet.getServlet().getNotifier().getSinks();
View Full Code Here

Examples of com.github.tomakehurst.wiremock.common.Notifier

            jettyServer.addConnector(httpsConnector);
        } else {
            httpsConnector = null;
        }

        Notifier notifier = options.notifier();
        addAdminContext(
                adminRequestHandler,
                notifier
        );
        addMockServiceContext(
View Full Code Here

Examples of com.hazelcast.spi.Notifier

            try {
                op.afterRun();

                if (op instanceof Notifier) {
                    final Notifier notifier = (Notifier) op;
                    if (notifier.shouldNotify()) {
                        nodeEngine.waitNotifyService.notify(notifier);
                    }
                }
            } catch (Throwable e) {
                // passed the response phase
View Full Code Here

Examples of com.infoclinika.mssharing.model.Notifier

    public void testUserReceivesEmailOnProjectSharingDirectly() {
        final long bob = uc.createLab3AndBob();
        final long poll = uc.createPaul();
        final String projName = anyStr();
        final long proj = studyManagement.newProject(bob, uc.getLab3(), new StudyManagement.ProjectInfo(projName, anyStr(), anyStr()));
        final Notifier notifier = notificator();

        sharingManagement.updateSharingPolicy(bob, proj, ImmutableMap.of(poll, SharingManagement.AccessLevel.WRITE), emptySharing, true);

        verify(notifier).projectShared(eq(bob), eq(poll), eq(proj));
    }
View Full Code Here

Examples of edu.brown.oltpgenerator.gui.common.Notifier

        });
    }

    private void initNotifier()
    {
        m_notifier = new Notifier()
        {

            @Override
            public void showMsg(final String msg, boolean alwaysDisplay)
            {
View Full Code Here

Examples of edu.indiana.extreme.lead.workflow_tracking.Notifier

                this.configuration.getTopic());

        ConstructorProps props = ConstructorProps.newProps();
        props.set(ConstructorConsts.BROKER_EPR, XMLUtil
                .xmlElementToString(brokerEPR));
        Notifier notifier = NotifierFactory.createNotifier(props);

        URI initiatorWorkflowID = URI.create("Workflow");
        URI initiatorServiceID = URI.create("Adder_add");
        String initiatorWorkflowNodeID1 = "Adder_add";
        Integer workflowTimeStep = new Integer(0);
        InvocationEntity entity1 = notifier.createEntity(initiatorWorkflowID,
                initiatorServiceID, initiatorWorkflowNodeID1, workflowTimeStep);
        notifier.resourceMapping(entity1, "resource1.example.com", 1);
        notifier.resourceMapping(entity1, "resource2.example.com", 2);
        notifier.resourceMapping(entity1, "resource3.example.com", 3);

        String initiatorWorkflowNodeID2 = "Adder_add_2";
        InvocationEntity entity2 = notifier.createEntity(initiatorWorkflowID,
                initiatorServiceID, initiatorWorkflowNodeID2, workflowTimeStep);
        notifier.resourceMapping(entity2, "resource.example.com", 0);
    }
View Full Code Here

Examples of edu.indiana.extreme.lead.workflow_tracking.Notifier

                this.configuration.getBrokerURL().toString(),
                this.configuration.getTopic());

        ConstructorProps props = ConstructorProps.newProps();
        props.set(ConstructorConsts.BROKER_EPR, brokerEPR);
        Notifier notifier = NotifierFactory.createNotifier(props);

        InvocationEntity entity = notifier.createEntity(URI
                .create("workflowID"), URI.create("serviceID"),
                "workflowNodeID", new Integer(1) /* step */);
        notifier.publishURL(entity, "title", "http://www.google.com",
                "descriptionAndAnnotation");

        notifier.workflowInitialized(WORKFLOW_INSTANCE_ID);

        DataObjImpl dataObj = new DataObjImpl(URI.create("test"),
                new ArrayList<URI>());
        notifier.dataConsumed(entity, dataObj, "description");
    }
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.Notifier

     *
     */
    public void test() {
        EndpointReference brokerEPR = WseMsgBrokerClient.createEndpointReference(this.configuration.getBrokerURL()
                .toString(), this.configuration.getTopic());
        Notifier notifier = NotifierFactory.createNotifier();

        URI initiatorWorkflowID = URI.create("Workflow");
        URI initiatorServiceID = URI.create("Adder_add");
        String initiatorWorkflowNodeID1 = "Adder_add";
        Integer workflowTimeStep = new Integer(0);
        WorkflowTrackingContext context = notifier.createTrackingContext(new Properties(), brokerEPR.toString(),
                initiatorWorkflowID, initiatorServiceID, initiatorWorkflowNodeID1, workflowTimeStep);
        notifier.resourceMapping(context, "resource1.example.com", 1, null);
        notifier.resourceMapping(context, "resource2.example.com", 2);
        notifier.resourceMapping(context, "resource3.example.com", 3);

        String initiatorWorkflowNodeID2 = "Adder_add_2";
        context = notifier.createTrackingContext(new Properties(), brokerEPR.toString(), initiatorWorkflowID,
                initiatorServiceID, initiatorWorkflowNodeID2, workflowTimeStep);
        notifier.resourceMapping(context, "resource.example.com", 0);
    }
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.