Repository: aries-jax-rs-whiteboard Updated Branches: refs/heads/master 1bbd8eccb -> b76e085e4
Reorder effects on whiteboard Project: http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/repo Commit: http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/commit/b76e085e Tree: http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/tree/b76e085e Diff: http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/diff/b76e085e Branch: refs/heads/master Commit: b76e085e40a9a6130a60f3e89276bbdd43a9e100 Parents: 1bbd8ec Author: Carlos Sierra <csie...@apache.org> Authored: Wed Apr 25 12:10:03 2018 +0200 Committer: Carlos Sierra <csie...@apache.org> Committed: Wed Apr 25 12:10:03 2018 +0200 ---------------------------------------------------------------------- .../jax/rs/whiteboard/activator/CxfJaxrsBundleActivator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/blob/b76e085e/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/activator/CxfJaxrsBundleActivator.java ---------------------------------------------------------------------- diff --git a/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/activator/CxfJaxrsBundleActivator.java b/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/activator/CxfJaxrsBundleActivator.java index 7137e99..d569b1c 100644 --- a/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/activator/CxfJaxrsBundleActivator.java +++ b/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/activator/CxfJaxrsBundleActivator.java @@ -165,6 +165,7 @@ public class CxfJaxrsBundleActivator implements BundleActivator { .flatMap( whiteboard -> all( + effects(whiteboard::start, whiteboard::stop), ignore( endpoints.effects( whiteboard::addHttpEndpoints, @@ -175,8 +176,7 @@ public class CxfJaxrsBundleActivator implements BundleActivator { _log, () -> "endpoint for whiteboard: " + whiteboard) - ), - effects(whiteboard::start, whiteboard::stop) + ) ) )) );