You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2014/03/20 22:30:04 UTC
svn commit: r1579754 -
/isis/site/trunk/content/reference/services/event-bus-service.md
Author: danhaywood
Date: Thu Mar 20 21:30:04 2014
New Revision: 1579754
URL: http://svn.apache.org/r1579754
Log:
event bus service
Modified:
isis/site/trunk/content/reference/services/event-bus-service.md
Modified: isis/site/trunk/content/reference/services/event-bus-service.md
URL: http://svn.apache.org/viewvc/isis/site/trunk/content/reference/services/event-bus-service.md?rev=1579754&r1=1579753&r2=1579754&view=diff
==============================================================================
--- isis/site/trunk/content/reference/services/event-bus-service.md (original)
+++ isis/site/trunk/content/reference/services/event-bus-service.md Thu Mar 20 21:30:04 2014
@@ -10,19 +10,10 @@ The typical implementation of a domain s
The API defined by `EventBusService` is:
-
public abstract class EventBusService {
-
- protected abstract EventBus getEventBus();
-
public void register(Object domainObject) { ... }
-
- @Programmatic
public void unregister(Object domainObject) { ... }
-
- @Programmatic
public void post(Object event) { ... }
-
}
where
@@ -30,7 +21,6 @@ where
* `register(Object)` registers the object with the event bus (it is simply a wrapper that delegates to `EventBus#register(Object)`)
* `unregister(Object)` unregisters the object with the event bus (it is simply a wrapper that delegates to `EventBus#unregister(Object)`)
* `post(Object)` posts the event onto event bus (it is simply a wrapper that delegates to `EventBus#post(Object)`)
-* `getEventBus()` provides access to the Guava `EventBus` for anything more sophisticated.
## Usage