Examples of MessageManager


Examples of org.crank.message.MessageManager

    ex.printStackTrace(pw);
    facesContext.getExternalContext().getRequestMap().put("crankErrorException", writer.toString());
  }

  protected void generateFacesMessages(FacesContext facesContext) {
    MessageManager mm = MessageManagerUtils.getCurrentInstance();
   
    addMessages(facesContext, FacesMessage.SEVERITY_INFO, mm.getStatusMessages());
    addMessages(facesContext, FacesMessage.SEVERITY_WARN, mm.getWarningMessages());
    addMessages(facesContext, FacesMessage.SEVERITY_FATAL, mm.getFatalMessages());
    addMessages(facesContext, FacesMessage.SEVERITY_ERROR, mm.getErrorMessages());
  }
View Full Code Here

Examples of org.eclipse.ui.internal.forms.MessageManager

  /* (non-Javadoc)
   * @see org.eclipse.ui.forms.IManagedForm#getMessageManager()
   */
  public IMessageManager getMessageManager() {
    if (messageManager == null)
      messageManager = new MessageManager(form);
    return messageManager;
  }
View Full Code Here

Examples of org.eclipse.ui.internal.forms.MessageManager

   * @return the message manager instance
   * @since org.eclipse.ui.forms 3.4
   */
  public IMessageManager getMessageManager() {
    if (messageManager == null)
      messageManager = new MessageManager(this);
    return messageManager;
  }
View Full Code Here

Examples of org.gudy.azureus2.plugins.messaging.MessageManager

 
  private void
  testBTMessageHandler()
  {
    try{
      MessageManager man = plugin_interface.getMessageManager();
     
      man.registerMessageType( new BorkMessage( "" ));

      man.locateCompatiblePeers(
        plugin_interface,
        new TestMessage( "" ),
        new MessageManagerListener()
        {
          public void
View Full Code Here

Examples of org.hive2hive.core.network.messages.MessageManager

  public NetworkManager(INetworkConfiguration networkConfiguration) {
    this.networkConfiguration = networkConfiguration;

    connection = new Connection(networkConfiguration.getNodeID(), this);
    dataManager = new DataManager(this);
    messageManager = new MessageManager(this);

    eventListeners = new ArrayList<INetworkEventListener>();
  }
View Full Code Here

Examples of org.japura.message.MessageManager

  Application.getControllerManager().register(this);
  this.context.register(this);
  this.group.register(this);

  setControllerStatus(ControllerStatus.REGISTERED);
  MessageManager messageManaer = Application.getMessageManager();
  messageManaer.register(this);
  messageManaer.addMessageFilter(this, new MessageFilter() {
    @Override
    public boolean accepts(Message message) {
    if (getControllerStatus().equals(ControllerStatus.REGISTERED)) {
      return true;
    }
    return false;
    }
  });
  messageManaer.publish(false, new ControllerRegisterMessage(this), this);
  }
View Full Code Here

Examples of org.jboss.seam.jms.MessageManager

    private List<Object> evtCache = new ArrayList<Object>();

    private MessageManager getMessageBuilder() {
        Set<Bean<?>> beans = bm.getBeans(MessageManager.class);
        Bean<?> bean = bm.resolve(beans);
        MessageManager mb = (MessageManager) bm.getReference(bean, MessageManager.class, bm.createCreationalContext(bean));
        return mb;
    }
View Full Code Here

Examples of org.jboss.seam.jms.MessageManager

    }

    private void forwardEvent(Object event) {
        if (!this.route.isEgressEnabled())
            return;
        MessageManager msgBuilder = this.getMessageBuilder();
        if (event instanceof String) {
            msgBuilder.sendTextToDestinations(event.toString(), route.getDestinations().toArray(new Destination[]{}));
        } else {
            msgBuilder.sendObjectToDestinations(event, route.getDestinations().toArray(new Destination[]{}));
        }

    }
View Full Code Here

Examples of plugins.Freetalk.MessageManager

        mMessageID = messageID;
  }

  public final void make() {
    try {
      MessageManager messageManager = mFreetalk.getMessageManager();
     
      synchronized(messageManager) {
        mMessage = messageManager.get(mMessageID);
       
        try {
          mBoard = messageManager.getSubscription(mOwnIdentity, mBoardName);
          mThread = mBoard.getThreadLink(mThreadID);
        }
        catch(NoSuchBoardException e) { }
        catch(NoSuchMessageException e) { }
       
View Full Code Here

Examples of plugins.Freetalk.MessageManager

  /**
   * Deletes all identities whose mLastReceivedFromWoT field does not match the ID of the last fetch (which is stored in mLast(Own)IdentityFetchID)
   */
  @SuppressWarnings("unchecked")
  private void garbageCollectIdentities(boolean ownIdentities) {
    final MessageManager messageManager = mFreetalk.getMessageManager();
    final PersistentTaskManager taskManager = mFreetalk.getTaskManager();
   
    synchronized(this) {
      // We must abort garbage collection if an identity fetch is in progress since the mLast(Own)IdentityFetchID which we use to delete
      // identities is updated AFTER the fetch has succeeded but the IDs which are stored in the identities are updated sequentially
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.