Skip to content

Commit

Permalink
Add @deprecated to ManagedBean (#105)
Browse files Browse the repository at this point in the history
* Add @deprecated to ManagedBean

Signed-off-by: Scott M Stark <starksm64@gmail.com>
  • Loading branch information
starksm64 authored Jun 14, 2022
1 parent 58d2c96 commit 0e6318a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion api/src/main/java/jakarta/annotation/ManagedBean.java
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit 0e6318a

Please sign in to comment.