Default CDI Enablement in Java EE 7

CDI provides control over component scanning via the 'bean-discovery-mode' attribute. This attribute has three possible values:

  • annotated - loosely translated, means that only components with a class-level annotation are processed.
  • all - all components are processed, just like they were in Java EE 6 with the explicit beans.xml.
  • none - CDI is effectively disabled.

Source: The Aquarium

0 Respostas em "Default CDI Enablement in Java EE 7"

Powered by Blogger