Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
java
java
titleCreate instances of Annotations
CustomAnnotation annotation = DefaultAnnotation.of(CustomAnnotation.class);

Misc

Advanced

This annotation can be used as marker annotation for artifacts which aren't managed by CDI. If such arifacts are supported by CODI and annotated with this annotation, it's possible to use dependency injection for fields. Furthermore, this annotation can be used as qualifier.

Enhanced

This annotation isn't used by CODI modules. It's a common annotation which can be used as marker annotation or qualifier by CODI add-ons. So they don't have to introduce their own marker annotation.

BeanNames

This interface is a marker interface for all interfaces which contain bean names (used by @Named within CODI). So it's very easy to find beans which can be used in EL expressions.

CoreModuleBeanNames

Enhanced

...

This interface specifies all beans of the core which can be resolved by name.

InvocationOrder

Artifacts which support this annotation can be sorted. The default order is 1000. Artifacts with a lower ordinal will be called before artifacts with a higher ordinal. If there is an artifact which is supported by CODI but doesn't provide an explicit order, it will be moved at the end of the list.

Base contracts only used by modules of CODI or custom modules

...