Annotation Interface Unremovable


@Retention(RUNTIME) @Target({TYPE,FIELD,METHOD}) public @interface Unremovable
Indicates that the bean marked with this annotation should never be removed by Arc even if it's considered unused. An unused bean:
  • is not a built-in bean or an interceptor
  • is not eligible for injection to any injection point,
  • is not excluded by any extension,
  • does not have a name,
  • does not declare an observer,
  • does not declare any producer which is eligible for injection to any injection point,
  • is not directly eligible for injection into any `jakarta.enterprise.inject.Instance` or `jakarta.inject.Provider` injection point