diff options
author | FrancescoFioraEst <francesco.fiora@est.tech> | 2021-07-05 10:36:42 +0100 |
---|---|---|
committer | FrancescoFioraEst <francesco.fiora@est.tech> | 2021-07-09 17:54:37 +0100 |
commit | d5fb4e04527f47f78e9116e3573c21dd75ff8abb (patch) | |
tree | d9b784ef679123c199e1e7aea5220b42f1a9cfea /common/src/main/java | |
parent | 8c802e778db60e269e2e66c7a6609bf905f6ad79 (diff) |
Convert controlloop runtime to springboot framework
Issue-ID: POLICY-3355
Change-Id: Ie1667b749eed28b7e526cd4695f45d8ed736c4e7
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Diffstat (limited to 'common/src/main/java')
-rw-r--r-- | common/src/main/java/org/onap/policy/clamp/controlloop/common/handler/ControlLoopHandler.java | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/common/src/main/java/org/onap/policy/clamp/controlloop/common/handler/ControlLoopHandler.java b/common/src/main/java/org/onap/policy/clamp/controlloop/common/handler/ControlLoopHandler.java index 1bbe5662f..18297da42 100644 --- a/common/src/main/java/org/onap/policy/clamp/controlloop/common/handler/ControlLoopHandler.java +++ b/common/src/main/java/org/onap/policy/clamp/controlloop/common/handler/ControlLoopHandler.java @@ -20,14 +20,11 @@ package org.onap.policy.clamp.controlloop.common.handler; -import java.util.HashSet; import java.util.List; -import java.util.Set; import lombok.Getter; import lombok.NonNull; import org.onap.policy.common.endpoints.event.comm.TopicSink; import org.onap.policy.common.endpoints.listeners.MessageTypeDispatcher; -import org.onap.policy.common.utils.services.Registry; import org.onap.policy.models.provider.PolicyModelsProviderParameters; /** @@ -47,21 +44,9 @@ public abstract class ControlLoopHandler { protected ControlLoopHandler(@NonNull PolicyModelsProviderParameters databaseProviderParameters) { this.databaseProviderParameters = databaseProviderParameters; - Registry.register(this.getClass().getName(), this); } public void close() { - Registry.unregister(this.getClass().getName()); - } - - /** - * Get the provider classes that are used in instantiation. - * - * @return the provider classes - */ - public Set<Class<?>> getProviderClasses() { - // No REST interfaces are the default - return new HashSet<>(); } /** |