com.caucho.loader.enhancer
Interface ScanListener

All Known Implementing Classes:
AmberContainer, EjbContainer, WebBeansContainer

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 getPriority()
          Returns the listener's priority.
 boolean isRootScannable(Path root)
          Called to check if the archive should be scan.
 boolean isScanMatch(CharBuffer string)
          Returns true if the string matches an annotation class.
 

Method Detail

getPriority

int getPriority()
Returns the listener's priority. 0 is an enhancer like Amber 1 is an extender like WebBeans


isRootScannable

boolean isRootScannable(Path root)
Called to check if the archive should be scan.


isScanMatch

boolean isScanMatch(CharBuffer string)
Returns true if the string matches an annotation class.


classMatchEvent

void classMatchEvent(EnvironmentClassLoader loader,
                     Path root,
                     java.lang.String className)
Callback to note the class matches