tamaya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anat...@apache.org
Subject [incubator-tamaya-sandbox] 01/07: Removed deprecated API usage of ConfigurationInjection.
Date Tue, 14 May 2019 14:58:05 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-sandbox.git

commit c6a81da32b353305e95c1cfb0a5fb6ee0933e7f4
Author: Anatole Tresch <atsticks@gmail.com>
AuthorDate: Sun Feb 24 21:28:58 2019 +0100

    Removed deprecated API usage of ConfigurationInjection.
---
 .../java/org/apache/tamaya/vertx/AbstractConfiguredVerticle.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/vertx/src/main/java/org/apache/tamaya/vertx/AbstractConfiguredVerticle.java b/vertx/src/main/java/org/apache/tamaya/vertx/AbstractConfiguredVerticle.java
index 1f5e4e0..d163a13 100644
--- a/vertx/src/main/java/org/apache/tamaya/vertx/AbstractConfiguredVerticle.java
+++ b/vertx/src/main/java/org/apache/tamaya/vertx/AbstractConfiguredVerticle.java
@@ -20,13 +20,13 @@ package org.apache.tamaya.vertx;
 
 import io.vertx.core.AbstractVerticle;
 import org.apache.tamaya.Configuration;
-import org.apache.tamaya.inject.ConfigurationInjection;
+import org.apache.tamaya.inject.ConfigurationInjector;
 
 import java.util.Optional;
 
 /**
  * Base verticle class that adds some convenience methods for accessing configuration.
- * The class also performs configuration injection using {@link ConfigurationInjection}.
+ * The class also performs configuration injection using {@link ConfigurationInjector}.
  */
 public abstract class AbstractConfiguredVerticle extends AbstractVerticle{
 
@@ -48,7 +48,7 @@ public abstract class AbstractConfiguredVerticle extends AbstractVerticle{
     }
 
     protected void configure(){
-        ConfigurationInjection.getConfigurationInjector().configure(this, getConfiguration());
+        ConfigurationInjector.getInstance().configure(this, getConfiguration());
     }
 
     protected final String getConfigValue(String key){


Mime
View raw message