@Contract
public interface Scanner<T>
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
getClassLoader()
Returns a ClassLoader capable of loading classes from the
underlying medium
|
ComponentInfo |
getComponentInfo(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).
|
Set<Class> |
getElements()
Return a complete set of classes available from this location.
|
org.glassfish.hk2.classmodel.reflect.Types |
getTypes()
Return the types information for this module
|
void |
process(File archiveFile,
T bundleDesc,
ClassLoader classLoader)
Scan the archive file and gather a list of classes
that should be processed for anntoations
|
void process(File archiveFile, T bundleDesc, ClassLoader classLoader) throws IOException
archiveFile - the archive file for scanningbundleDesc - the bundle descriptor associated with this archiveclassloader - the classloader used to scan the annotationIOExceptionClassLoader getClassLoader()
Set<Class> getElements()
ComponentInfo getComponentInfo(Class componentImpl)
componentImpl - class of the component.org.glassfish.hk2.classmodel.reflect.Types getTypes()
Copyright © 2019. All rights reserved.