Examples of notify()


Examples of org.jwall.web.policy.editor.AbstractPolicyModel.notify()

      return;
   
    try {
      TreeNode parent = node.getParent();
      mergeResources( parent, exp );
      rtm.notify( parent );
      return;
    } catch (Exception ex){
      ex.printStackTrace();
    }
  }
View Full Code Here

Examples of org.modeshape.jcr.spi.index.provider.IndexProvider.notify()

                if (!providerName.equals(indexDefn.getProviderName())) continue;
                changes.change(indexDefn);
            }
            // Even if there are no definitions, we still want to notify each of the providers ...
            try {
                provider.notify(changes, repository.changeBus(), repository.nodeTypeManager(), repository.repositoryCache()
                                                                                                         .getWorkspaceNames(),
                                feedback.forProvider(providerName));
            } catch (RuntimeException e) {
                logger.error(e, JcrI18n.errorNotifyingProviderOfIndexChanges, providerName, repository.name(), e.getMessage());
            }
View Full Code Here

Examples of org.nanocontainer.deployer.FolderContentPoller.notify()

                                .method("setCurrentChildren")
                                .with(same(newChildren));


        synchronized(fileMonitor) {
            fileMonitor.notify();
            fileMonitor.wait(200);
        }
        fileMonitor.stop();
    }
}
View Full Code Here

Examples of org.nasutekds.server.replication.protocol.UpdateMsg.notify()

    // Signal waiting thread ack has been received
    if (update != null)
    {
      synchronized (update)
      {
        update.notify();
      }

      // Analyze status of embedded in the ack to see if everything went well
      boolean hasTimeout = ack.hasTimeout();
      boolean hasReplayErrors = ack.hasReplayError();
View Full Code Here

Examples of org.openide.DialogDisplayer.notify()

            @Override
            public void run() {
                getDescriptor().setValid(false);
                DialogDisplayer displayer = DialogDisplayer.getDefault();
                if (displayer.notify(getDescriptor()) == DialogDescriptor.OK_OPTION) {
                    try {
                        createChildTheme(themesDirectory);
                    } catch (IOException ex) {
                        Exceptions.printStackTrace(ex);
                    }
View Full Code Here

Examples of org.openide.TopManager.notify()

            ResourceBundle.getBundle(
            "org/netbeans/modules/openoffice/wizard/actions/idl/Bundle").getString(
            "MSG_Destroy"), new Object[] {
                anode[0].getName()
            }), 2);
            topmanager.notify(confirmation);
            if(confirmation.getValue() == NotifyDescriptor.CANCEL_OPTION) {
                return;
            }
            if(anode[0].canDestroy())
                try {
View Full Code Here

Examples of org.openide.awt.NotificationDisplayer.notify()

                }

                // show notification displayer
                if (!FuelPhpPreferences.isEnabled(phpModule)) {
                    NotificationDisplayer notificationDisplayer = NotificationDisplayer.getDefault();
                    notification = notificationDisplayer.notify(
                            Bundle.FuelPhpFrameworkProvider_autoditection(phpModule.getDisplayName()), // title
                            NotificationDisplayer.Priority.LOW.getIcon(), // icon
                            Bundle.FuelPhpFrameworkProvider_autoditection_action(), // detail
                            new FuelPhpAutoDetectionActionListener(), // action
                            NotificationDisplayer.Priority.LOW); // priority
View Full Code Here

Examples of org.rhq.coregui.client.util.message.MessageCenter.notify()

            } else {
                this.saveButton.disable();
                message = new Message(MSG.view_configurationDetails_somePropertiesInvalid(invalidPropertyNames.values()
                    .toString()), Message.Severity.Error, EnumSet.of(Message.Option.Transient, Message.Option.Sticky));
            }
            messageCenter.notify(message);
        } else if (event.getInvalidPropertyNames().isEmpty()) {
            this.saveButton.enable();
        } else {
            this.saveButton.disable();
        }
View Full Code Here

Examples of org.servicemix.ws.notification.impl.ActiveMQNotificationBroker.notify()

        messageHolder.setTopic( TopicExpressionConverter.toTopicExpression(topic) );
        XmlObject o = createMessage();
        messageHolder.setMessage(o);
       
        System.out.println(request);
        broker.notify(request);
       
        Message message = consumer.receive(3000);
        assertNotNull(message);
    }
View Full Code Here

Examples of org.vertx.java.core.buffer.Buffer.notify()

                               if (event.statusCode != 200) {
                                   synchronized (responseBody) {
                                       // This is a failed request
                                       logger.error("Bad response: "
                                                    + event.statusCode);
                                       responseBody.notify();
                                   }
                                   return;
                               }

                               // Try to download the body
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.