Class Scanner<T>

java.lang.Object
org.gwizard.web.Scanner<T>
Direct Known Subclasses:
EventListenerScanner, HandlerScanner

public class Scanner<T>
extends java.lang.Object
Walks through the guice injector bindings, visiting each one that is of the specified type.
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static interface  Scanner.Visitor<V>  
  • Constructor Summary

    Constructors
    Constructor Description
    Scanner​(com.google.inject.Injector injector, java.lang.Class<T> scanFor)  
  • Method Summary

    Modifier and Type Method Description
    void accept​(Scanner.Visitor<T> visitor)
    Start the process, visiting each ServletContextListener bound in the injector or any parents

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Scanner

      public Scanner​(com.google.inject.Injector injector, java.lang.Class<T> scanFor)
  • Method Details

    • accept

      public void accept​(Scanner.Visitor<T> visitor)
      Start the process, visiting each ServletContextListener bound in the injector or any parents