Examples of publish()


Examples of backtype.storm.utils.DisruptorQueue.publish()

   
    for (Entry<String, DisruptorQueue> entry: queues.entrySet()) {
      String name = entry.getKey();
      DisruptorQueue queue = entry.getValue();
      Tick tick = new Tick(name);
      queue.publish(tick);
      LOG.debug("Issue time tick " + name);
    }
   
  }
View Full Code Here

Examples of bibliothek.gui.dock.util.color.ColorManager.publish()

                if( oldBridge != null )
                    colors.unpublish( Priority.DEFAULT, kind );
            }
            else{
                setting.colors.put( kind, newBridge );
                colors.publish( Priority.DEFAULT, kind, newBridge );
            }
        }
    }
   
    /**
 
View Full Code Here

Examples of bibliothek.gui.dock.util.font.FontManager.publish()

                    fonts.unpublish( Priority.DEFAULT, kind );
                }
            }
            else{
                setting.fonts.put( kind, newBridge );
                fonts.publish( Priority.DEFAULT, kind, newBridge );
            }
        }
    }

    public void install( DockController controller, DockThemeExtension[] extensions ){
View Full Code Here

Examples of client.net.sf.saxon.ce.lib.GenericLogHandler.publish()

         
    // popup & firebug must be disabled using Saxonce.gwt.xml and enabled
    // below - if required
    if (gHandler.isSupported()) {
      mainLogger.addHandler(gHandler);
      gHandler.publish(record);
    } else if (!SaxonceApi.isLogHandlerExternal()) {
          HasWidgets loggingWidget = new LoggingPopup();
          HasWidgetsLogHandler hw = new HasWidgetsLogHandler(loggingWidget);
          mainLogger.addHandler(hw);
          hw.publish(record);
View Full Code Here

Examples of com.amazonaws.services.sns.AmazonSNSClient.publish()

      PublishRequest publishRequest = new PublishRequest();
      String messageText = "quamvis sint sub aqua, sub aqua maledicere temptant";
      publishRequest.setMessage(messageText);
      publishRequest.setSubject("unit test message");
      publishRequest.setTopicArn(topicArn);
      sns.publish(publishRequest);
     
      Thread.sleep(500);

      ReceiveMessageRequest receiveMessageRequest = new ReceiveMessageRequest();
      receiveMessageRequest.setQueueUrl(queueUrl);
View Full Code Here

Examples of com.cxy.redisclient.service.PubSubService.publish()

import junit.framework.TestCase;

public class PubSub extends TestCase {
  public void testPub(){
    PubSubService service = new PubSubService();
    service.publish(13, "test", "16:16 message");
  }
  public void testSub(){
    PubSubService service = new PubSubService();
    service.subscribe(13, new JedisPubSub() {
View Full Code Here

Examples of com.dotmarketing.portlets.contentlet.business.ContentletAPI.publish()

          if(asset instanceof Contentlet) {
          Logger.debug(PublishFactory.class, "*****I'm an HTML Page -- Publishing my Contentlet Child=" + ((Contentlet)asset).getInode());
          try {
            Contentlet c = (Contentlet)asset;
            if(!APILocator.getWorkflowAPI().findSchemeForStruct(c.getStructure()).isMandatory()){
              conAPI.publish((Contentlet)asset, user, false);
            }
          } catch (DotSecurityException e) {
            //User has no permission to publish the content in the page so we just skip it
            Logger.debug(PublishFactory.class, "publish html page: User has no permission to publish the content inode = " + ((Contentlet)asset).getInode() + " in the page, skipping it.");
          }           
View Full Code Here

Examples of com.esri.gpt.catalog.publication.EditorRequest.publish()

    EditorRequest request = new EditorRequest(context,publisher,sXml);
    request.getPublicationRecord().setUuid(getOpenDocumentUuid());
    if (asDraft) {
      request.getPublicationRecord().setApprovalStatus(MmdEnums.ApprovalStatus.draft.toString());
    }
    request.publish();
    setOpenDocumentUuid(request.getPublicationRecord().getUuid());
    if (asDraft) {
      msgBroker.addSuccessMessage("catalog.publication.success.draftSaved");
    } else {
      if (request.getPublicationRecord().getWasDocumentReplaced()) {
View Full Code Here

Examples of com.esri.gpt.catalog.publication.HarvesterRequest.publish()

            publicationRequest.getPublicationRecord().setPublicationMethod(sMethod);
            publicationRequest.getPublicationRecord().setAlternativeTitle(unit.getRepository().getName());
            publicationRequest.getPublicationRecord().setLockTitle(ProtocolInvoker.getLockTitle(unit.getRepository().getProtocol()));
          }

          publicationRequest.publish();
          boolean bReplaced =
            publicationRequest.getPublicationRecord().getWasDocumentReplaced();

          LOGGER.finer("[SYNCHRONIZER] SUCCEEDED processing metadata #" + (rp.getHarvestedCount() + 1) + " through: " + unit + ", source URI: " + sourceUri);
View Full Code Here

Examples of com.esri.gpt.catalog.publication.PublicationRequest.publish()

    PublicationRequest publishRequest = new PublicationRequest(context,
        publisher, xml);
    publishRequest.getPublicationRecord().setSourceFileName(sourceUri);
    publishRequest.getPublicationRecord().setPublicationMethod(
        MmdEnums.PublicationMethod.batch.toString());
    publishRequest.publish();

    boolean bReplaced = publishRequest.getPublicationRecord()
        .getWasDocumentReplaced();
    StringBuffer sb = new StringBuffer();
    sb.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
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.