You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tamaya.apache.org by an...@apache.org on 2018/12/16 23:35:11 UTC

[incubator-tamaya-extensions] branch master updated: Added missing reset method.

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

anatole pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tamaya-extensions.git


The following commit(s) were added to refs/heads/master by this push:
     new 6846449  Added missing reset method.
6846449 is described below

commit 684644949fb4bbf9708be052fb07132d0e73a336
Author: Anatole Tresch <at...@gmail.com>
AuthorDate: Mon Dec 17 00:35:00 2018 +0100

    Added missing reset method.
---
 .../src/main/java/org/apache/tamaya/cdi/CDIAwareServiceContext.java  | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/modules/injection/cdi/src/main/java/org/apache/tamaya/cdi/CDIAwareServiceContext.java b/modules/injection/cdi/src/main/java/org/apache/tamaya/cdi/CDIAwareServiceContext.java
index eac745e..05620c9 100644
--- a/modules/injection/cdi/src/main/java/org/apache/tamaya/cdi/CDIAwareServiceContext.java
+++ b/modules/injection/cdi/src/main/java/org/apache/tamaya/cdi/CDIAwareServiceContext.java
@@ -156,6 +156,11 @@ public class CDIAwareServiceContext implements ServiceContext, ClassloaderAware
         return defaultServiceContext.register(type, instances, force);
     }
 
+    @Override
+    public void reset() {
+        defaultServiceContext.reset();
+    }
+
     /**
      * Checks the given instance for a @Priority annotation. If present the annotation's createValue s evaluated. If no such
      * annotation is present, a default priority is returned (1);