You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by cs...@apache.org on 2020/08/05 13:51:55 UTC

[aries-jax-rs-whiteboard] branch master updated: [ARIES-1996] Also set runtime delegate when starting the bundle

This is an automated email from the ASF dual-hosted git repository.

csierra pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/aries-jax-rs-whiteboard.git


The following commit(s) were added to refs/heads/master by this push:
     new e5321e7  [ARIES-1996] Also set runtime delegate when starting the bundle
e5321e7 is described below

commit e5321e7e9923815ca5ad0d7d3f781a3156fcb0d6
Author: Carlos Sierra Andrés <ca...@liferay.com>
AuthorDate: Wed Aug 5 15:49:39 2020 +0200

    [ARIES-1996] Also set runtime delegate when starting the bundle
---
 .../aries/jax/rs/whiteboard/activator/CxfJaxrsBundleActivator.java      | 2 ++
 1 file changed, 2 insertions(+)

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 cc97312..6dfdd45 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
@@ -74,6 +74,8 @@ public class CxfJaxrsBundleActivator implements BundleActivator {
 
     @Override
     public void start(BundleContext bundleContext) throws Exception {
+        RuntimeDelegate.setInstance(new RuntimeDelegateImpl());
+
         if (_log.isDebugEnabled()) {
             _log.debug("Starting the whiteboard factory");
         }