public class ManagedEventBus extends Object implements Closeable
| Modifier and Type | Class and Description |
|---|---|
static class |
ManagedEventBus.EventBusExceptionHandler
Simple exception handler that, unlike the default handler, does not swallow
the exception causing the error.
|
static class |
ManagedEventBus.PoisonPill |
| Constructor and Description |
|---|
ManagedEventBus(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
post(Object event) |
void |
receivePoisonPill(ManagedEventBus.PoisonPill poisonPill) |
void |
register(Object listener) |
public ManagedEventBus(String name)
public void register(Object listener)
public void post(Object event)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic void receivePoisonPill(ManagedEventBus.PoisonPill poisonPill)
Copyright © 2014–2015. All rights reserved.