X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=holmes-actions%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fholmes%2Fcommon%2Fdmaap%2Fstore%2FUniqueRequestIdCache.java;h=f4e2459cc991f9af52158f36dea2923524eca296;hb=0c795a78a515168eb600744bf43906d4fd195b30;hp=070159e2eb65fb8b3788a115000ff7f218e8cdac;hpb=0ed4589721f3acd3778c470be233ada0d545599f;p=holmes%2Fcommon.git diff --git a/holmes-actions/src/main/java/org/onap/holmes/common/dmaap/store/UniqueRequestIdCache.java b/holmes-actions/src/main/java/org/onap/holmes/common/dmaap/store/UniqueRequestIdCache.java index 070159e..f4e2459 100644 --- a/holmes-actions/src/main/java/org/onap/holmes/common/dmaap/store/UniqueRequestIdCache.java +++ b/holmes-actions/src/main/java/org/onap/holmes/common/dmaap/store/UniqueRequestIdCache.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 ZTE Corporation. + * Copyright 2020-2021 ZTE Corporation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -15,14 +15,14 @@ */ package org.onap.holmes.common.dmaap.store; -import org.jvnet.hk2.annotations.Service; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Component; import javax.inject.Singleton; import java.util.concurrent.ConcurrentHashMap; -@Service +@Component @Singleton public class UniqueRequestIdCache extends ConcurrentHashMap {