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 cebadf3 Added missing reset method.
cebadf3 is described below
commit cebadf3846445259e86b11f72e568e6505aa08d8
Author: Anatole Tresch <[email protected]>
AuthorDate: Mon Dec 17 00:40:06 2018 +0100
Added missing reset method.
---
.../java/org/apache/tamaya/cdi/ServiceLoaderServiceContext.java | 7 +++++++
1 file changed, 7 insertions(+)
diff --git
a/modules/injection/cdi/src/main/java/org/apache/tamaya/cdi/ServiceLoaderServiceContext.java
b/modules/injection/cdi/src/main/java/org/apache/tamaya/cdi/ServiceLoaderServiceContext.java
index 54bced1..f8424c2 100644
---
a/modules/injection/cdi/src/main/java/org/apache/tamaya/cdi/ServiceLoaderServiceContext.java
+++
b/modules/injection/cdi/src/main/java/org/apache/tamaya/cdi/ServiceLoaderServiceContext.java
@@ -236,4 +236,11 @@ final class ServiceLoaderServiceContext implements
ServiceContext {
return null;
}
+ @Override
+ public void reset() {
+ this.servicesLoaded.clear();
+ this.factoryTypes.clear();
+ this.singletons.clear();
+ }
+
}