Interface ScannedClasses


public interface ScannedClasses
Allows adding additional classes to the set of types discovered during type discovery. Such classes will therefore be scanned during bean discovery. Annotations on these classes can later be transformed using @Enhancement.
Since:
4.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(String className)
    Adds a class with given name to the set of types discovered during type discovery.
  • Method Details

    • add

      void add(String className)
      Adds a class with given name to the set of types discovered during type discovery. The class will therefore be scanned during bean discovery.

      Adding the same class multiple times, or adding a class that is automatically discovered by the container, leads to non-portable behavior.

      Parameters:
      className - binary name of the class, as defined by The Java™ Language Specification; in other words, the class name as returned by Class.getName()