Top Description Methods
jakarta.enterprise.inject.build.compatible.spi

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 TypeMethod and Description
public void
add(String
binary name of the class, as defined by The Java™ Language Specification; in other words, the class name as returned by Class#getName()
className
)

Adds a class with given name to the set of types discovered during type discovery.

Method Detail

addback to summary
public 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:String

binary name of the class, as defined by The Java™ Language Specification; in other words, the class name as returned by Class#getName()