Examples of fireEvent()


Examples of org.eclipse.jgit.lib.Repository.fireEvent()

              }
            }
          }

          if (ticketBranchCmd != null) {
            repository.fireEvent(new ReceiveCommandEvent(model, ticketBranchCmd));
          }
        }
      } catch (Exception e) {
        logger.error("Error updating mirror " + repositoryName, e);
      } finally {
View Full Code Here

Examples of org.jboss.arquillian.warp.spi.LifecycleManager.fireEvent()

        Boolean initialized = (Boolean) facesContext.getAttributes().get(FacesContextFactoryWrapper.WARP_ENABLED);

        if (initialized) {
            try {
                LifecycleManager manager = LifecycleManagerStore.get(FacesContext.class, event.getFacesContext());
                manager.fireEvent(PhaseLifecycleEvent.getInstance(event.getPhaseId(), when));
            } catch (ObjectNotAssociatedException e) {
                throw new IllegalStateException(e);
            }
        }
    }
View Full Code Here

Examples of org.jboss.forge.furnace.event.EventManager.fireEvent()

                     if (!self.getId().equals(addon.getId()))
                     {
                        EventManager remoteEventManager = addon.getEventManager();
                        if (remoteEventManager != null)
                        {
                           remoteEventManager.fireEvent(event, qualifiers.toArray(new Annotation[qualifiers.size()]));
                        }
                     }
                  }
               }
               catch (Exception e)
View Full Code Here

Examples of org.jboss.forge.furnace.event.EventManager.fireEvent()

      ServiceRegistry registry = addon.getServiceRegistry();
      ExportedInstance<EventManager> instance = registry.getExportedInstance(EventManager.class);
      if (instance != null)
      {
         EventManager manager = instance.get();
         manager.fireEvent(event, qualifiers);
         instance.release(manager);
      }
   }

}
View Full Code Here

Examples of org.jboss.portal.identity.event.IdentityEventBroadcaster.fireEvent()

      {
         // This can be called on object creation by hibernate so make sure that all fields are populated first
         if (getId() != null && getName() != null && getDisplayName() != null)
         {
            RoleUpdatedEvent event = new RoleUpdatedEvent(getId(), getName(), displayName);
            broadcaster.fireEvent(event);
         }

      }
   }
View Full Code Here

Examples of org.jbpm.graph.def.GraphElement.fireEvent()

       ) {
      GraphElement graphElement = getEvent().getGraphElement();
      try {
        executionContext.setTimer(timer);
        // fire the create timer event on the same graph element
        graphElement.fireEvent(Event.EVENTTYPE_TIMER_CREATE, executionContext);
      } finally {
        executionContext.setTimer(null);
      }
    }
   
View Full Code Here

Examples of org.jbpm.graph.def.Node.fireEvent()

    startCompositeLog(new SignalLog(transition));
    try
    {
      // fire the event before-signal
      Node signalNode = node;
      signalNode.fireEvent(Event.EVENTTYPE_BEFORE_SIGNAL, executionContext);

      // start calculating the next state
      node.leave(executionContext, transition);

      // if required, check if this token is implicitly terminated
View Full Code Here

Examples of org.jbpm.graph.def.Node.fireEvent()

      // if required, check if this token is implicitly terminated
      checkImplicitTermination();

      // fire the event after-signal
      signalNode.fireEvent(Event.EVENTTYPE_AFTER_SIGNAL, executionContext);

    }
    finally
    {
      endCompositeLog();
View Full Code Here

Examples of org.jbpm.signal.EventService.fireEvent()

      if (jbpmContext != null) {
        Services services = jbpmContext.getServices();
        if (services != null) {
          EventService evService = (EventService) services.getService(EventService.SERVICE_NAME);
          if (evService != null) {
            evService.fireEvent(eventType, this, executionContext);
          }
        }
      }

      fireAndPropagateEvent(eventType, executionContext);
View Full Code Here

Examples of org.menacheri.jetclient.event.EventDispatcher.fireEvent()

        return Events.SESSION_MESSAGE;
      }
    });

    Event event = Events.event(null, Events.SESSION_MESSAGE);
    dispatcher.fireEvent(event);
    assertTrue(latch.await(1, TimeUnit.SECONDS));
  }

  @Test
  public void eventReceiptOnANYTypeEventHandler() throws InterruptedException
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.