Package org.glassfish.apf
Interface Scanner
- All Known Implementing Classes:
JavaEEScanner
@Contract
public interface Scanner
This interface is responsible for scanning the binary location
provided and provide each binary file through a pull interfaces
- Author:
- Jerome Dochez
-
Method Summary
Modifier and TypeMethodDescriptionReturns a ClassLoader capable of loading classes from the underlying mediumgetComponentInfo(Class<?> componentImpl) Sometimes, annotations processing requires more than a single class, especially when such classes end up being a Java Component (Java Beans, Java EE).Return a complete set of classes available from this location.
-
Method Details
-
getClassLoader
ClassLoader getClassLoader()Returns a ClassLoader capable of loading classes from the underlying medium- Returns:
- a class loader capable of loading the classes
-
getElements
Return a complete set of classes available from this location.- Returns:
- the complete set of classes
-
getComponentInfo
Sometimes, annotations processing requires more than a single class, especially when such classes end up being a Java Component (Java Beans, Java EE). The implementation returned from the getComponent will be responsible for defining the complete view of this component starting from it's implementation class.- Parameters:
componentImpl- class of the component.- Returns:
ComponentInfo
-