Package com.strategicgains.eventing.local

Examples of com.strategicgains.eventing.local.LocalEventBusBuilder


  private DomainEventsTestLongEventHandler longHandler = new DomainEventsTestLongEventHandler();

  @Before
  public void setup()
  {
    EventBus q = new LocalEventBusBuilder()
      .subscribe(handler)
      .subscribe(ignoredHandler)
      .subscribe(longHandler)
      .build();
    DomainEvents.addBus("primary", q);
View Full Code Here


  @Test
  public void shouldPublishMultipleBusses()
  throws Exception
  {
    EventBus q = new LocalEventBusBuilder()
      .subscribe(handler)
      .subscribe(ignoredHandler)
      .subscribe(longHandler)
      .addPublishalbeEventType(HandledEvent.class)
      .build();
View Full Code Here

TOP

Related Classes of com.strategicgains.eventing.local.LocalEventBusBuilder

Copyright © 2018 www.massapicom. 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.