Skip to content

Commit cb6ba92

Browse files
authored
Merge pull request #49203 from Ladicek/arc-deprecate-identified
ArC: deprecate Identified for removal
2 parents f530cf9 + 24f075e commit cb6ba92

File tree

2 files changed

+10
-0
lines changed
  • independent-projects/arc

2 files changed

+10
-0
lines changed

independent-projects/arc/processor/src/main/java/io/quarkus/arc/processor/DotNames.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,10 @@ public final class DotNames {
142142
public static final DotName VETOED_PRODUCER = create(VetoedProducer.class);
143143
public static final DotName LIST = create(List.class);
144144
public static final DotName ALL = create(All.class);
145+
/**
146+
* @see Identified
147+
*/
148+
@Deprecated(forRemoval = true, since = "3.26")
145149
public static final DotName IDENTIFIED = create(Identified.class);
146150
public static final DotName INSTANCE_HANDLE = create(InstanceHandle.class);
147151
public static final DotName NO_CLASS_INTERCEPTORS = create(NoClassInterceptors.class);

independent-projects/arc/runtime/src/main/java/io/quarkus/arc/impl/Identified.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,16 @@
1616
* Qualifies a bean with a string-based identifier.
1717
* <p>
1818
* This is an internal qualifier and should not be used by application beans.
19+
*
20+
* @deprecated This is an internal qualifier and should have never been used publicly.
21+
* It shall be removed at some point after Quarkus 3.27. See also
22+
* <a href="https://github.com/quarkusio/quarkus/pull/32179">#32179</a> and
23+
* <a href="https://github.com/quarkusio/quarkus/pull/49178">#49178</a>.
1924
*/
2025
@Qualifier
2126
@Retention(RUNTIME)
2227
@Target({ TYPE, FIELD, METHOD, PARAMETER })
28+
@Deprecated(forRemoval = true, since = "3.26")
2329
public @interface Identified {
2430

2531
String value();

0 commit comments

Comments
 (0)