diff --git a/api/src/main/java/jakarta/annotation/ManagedBean.java b/api/src/main/java/jakarta/annotation/ManagedBean.java index 496ac9e..8190667 100644 --- a/api/src/main/java/jakarta/annotation/ManagedBean.java +++ b/api/src/main/java/jakarta/annotation/ManagedBean.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2022 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0, which is available at @@ -26,9 +26,11 @@ * such as resource injection, lifecycle callbacks and interceptors. * * @since Common Annotations 1.1 + * @deprecated This will be removed post Jakarta EE 10 and should be replaced with CDI beans */ @Target(TYPE) @Retention(RUNTIME) +@Deprecated(/*since = "2.1.1", forRemoval = true*/) public @interface ManagedBean { /** * The name of the Jakarta Managed Bean. Jakarta Managed Bean names must be unique within a