|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.errai.bus.client.api.BusLifecycleEvent
public final class BusLifecycleEvent
Represents the event that happens during a state transition in the
ClientMessageBus
lifecycle. Provides access to contextual information
at the time of the event.
BusLifecycleListener
Constructor Summary | |
---|---|
BusLifecycleEvent(ClientMessageBus bus,
TransportError reason)
Creates a new lifecycle event with the given details. |
Method Summary | |
---|---|
ClientMessageBus |
getBus()
Returns the bus that this lifecycle event pertains to. |
TransportError |
getReason()
The transport error that caused this lifecycle transition. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BusLifecycleEvent(ClientMessageBus bus, TransportError reason)
bus
- The bus that this lifecycle event pertains to. Must not be null.reason
- The error that caused this lifecycle transition. Null is
permitted, and means the transition was not caused by a transport
error.Method Detail |
---|
public ClientMessageBus getBus()
public TransportError getReason()
|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |