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 2015/03/25 02:04:14 UTC
[3/9] isis git commit: ISIS-1028: Create Event Bus Service based on
Axon
ISIS-1028: Create Event Bus Service based on Axon
Registering Subscribers.
Still estrange behavior on Guava's EventBusServiceJdo. When an exception is thrown during EXECUTING phase, transaction is marked to be aborted, but execution flow continues in my tests ...
Is that behavior correct? Should an Exception be thrown?
Perhaps there's still something missing on current refactoring.
Project: http://git-wip-us.apache.org/repos/asf/isis/repo
Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/15ae2ace
Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/15ae2ace
Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/15ae2ace
Branch: refs/heads/master
Commit: 15ae2ace671383e2f1580ecf2266a07f3427d32e
Parents: c5b06bb
Author: Oscar Bou <os...@apache.org>
Authored: Sun Feb 8 21:39:00 2015 +0100
Committer: Oscar Bou <os...@apache.org>
Committed: Sun Feb 8 21:39:00 2015 +0100
----------------------------------------------------------------------
.../isis/core/runtime/services/eventbus/GuavaEventBusAdapter.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/isis/blob/15ae2ace/core/runtime/src/main/java/org/apache/isis/core/runtime/services/eventbus/GuavaEventBusAdapter.java
----------------------------------------------------------------------
diff --git a/core/runtime/src/main/java/org/apache/isis/core/runtime/services/eventbus/GuavaEventBusAdapter.java b/core/runtime/src/main/java/org/apache/isis/core/runtime/services/eventbus/GuavaEventBusAdapter.java
index 8baf576..12fbf9e 100644
--- a/core/runtime/src/main/java/org/apache/isis/core/runtime/services/eventbus/GuavaEventBusAdapter.java
+++ b/core/runtime/src/main/java/org/apache/isis/core/runtime/services/eventbus/GuavaEventBusAdapter.java
@@ -41,8 +41,7 @@ public class GuavaEventBusAdapter extends EventBusAdapter {
@Override
public void register(final Object domainService) {
- // NO-OP. On current implementation subscribers list is the one managed
- // by the EventBusService, and used by EventBusServiceDefault.
+ this.eventBus.register(domainService);
}
@Override