Skip to content

Clarify managed bean definition to exclude BeanCompatibleExtension impls #663

@manovotn

Description

@manovotn

Currently, the specification states that a class implementing Extension isn't a managed bean:

A Java class is a managed bean if it meets all of the following conditions:

  • It does not implement jakarta.enterprise.inject.spi.Extension.

However, it fails to mention BuildCompatibleExtension.
Note that BCE are already forbidden from becoming bean by javadoc on BCE class - see this.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions