tamaya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anat...@apache.org
Subject [incubator-tamaya-extensions] branch master updated: Added missing reset method.
Date Sun, 16 Dec 2018 23:35:11 GMT
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 <atsticks@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);


Mime
View raw message