Revert "Abstract ConnectivityIntentCompiler is not a @Component"
This problem needs to be fixed in a better way. This reverts commit 8317ad56. Change-Id: Icbc4492016a0858221a3e79121db36cbb87b3b2b
Showing
1 changed file
with
2 additions
and
0 deletions
... | @@ -18,6 +18,7 @@ package org.onosproject.net.intent.impl.compiler; | ... | @@ -18,6 +18,7 @@ package org.onosproject.net.intent.impl.compiler; |
18 | import com.google.common.base.Predicate; | 18 | import com.google.common.base.Predicate; |
19 | import com.google.common.collect.FluentIterable; | 19 | import com.google.common.collect.FluentIterable; |
20 | import com.google.common.collect.ImmutableList; | 20 | import com.google.common.collect.ImmutableList; |
21 | +import org.apache.felix.scr.annotations.Component; | ||
21 | import org.apache.felix.scr.annotations.Reference; | 22 | import org.apache.felix.scr.annotations.Reference; |
22 | import org.apache.felix.scr.annotations.ReferenceCardinality; | 23 | import org.apache.felix.scr.annotations.ReferenceCardinality; |
23 | import org.onosproject.net.ElementId; | 24 | import org.onosproject.net.ElementId; |
... | @@ -42,6 +43,7 @@ import java.util.Set; | ... | @@ -42,6 +43,7 @@ import java.util.Set; |
42 | * Base class for compilers of various | 43 | * Base class for compilers of various |
43 | * {@link org.onosproject.net.intent.ConnectivityIntent connectivity intents}. | 44 | * {@link org.onosproject.net.intent.ConnectivityIntent connectivity intents}. |
44 | */ | 45 | */ |
46 | +@Component(immediate = true) | ||
45 | public abstract class ConnectivityIntentCompiler<T extends ConnectivityIntent> | 47 | public abstract class ConnectivityIntentCompiler<T extends ConnectivityIntent> |
46 | implements IntentCompiler<T> { | 48 | implements IntentCompiler<T> { |
47 | 49 | ... | ... |
-
Please register or login to post a comment