|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Module public interface ScanListener
Interface for a scan manager
| Method Summary | |
|---|---|
void |
classMatchEvent(EnvironmentClassLoader loader,
Path root,
java.lang.String className)
Callback to note the class matches |
int |
getScanPriority()
Returns the listener's priority. |
boolean |
isRootScannable(Path root,
java.lang.String packageRoot)
Called to check if the archive should be scanned. |
boolean |
isScanMatchAnnotation(CharBuffer string)
Returns true if the string matches an annotation class. |
ScanClass |
scanClass(Path root,
java.lang.String packageRoot,
java.lang.String name,
int modifiers)
Returns the state when scanning the class |
| Method Detail |
|---|
int getScanPriority()
boolean isRootScannable(Path root,
java.lang.String packageRoot)
ScanClass scanClass(Path root,
java.lang.String packageRoot,
java.lang.String name,
int modifiers)
root - the module/jar's root pathpackageRoot - the virtual package root (usually for Testing)name - the class namemodifiers - the class modifiers
boolean isScanMatchAnnotation(CharBuffer string)
void classMatchEvent(EnvironmentClassLoader loader,
Path root,
java.lang.String className)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||