Interface Module

  • All Known Implementing Classes:
    PluginModule

    public interface Module
    Interface implemented by PluginModule classes which supplies which annotated types are part of a jar is loaded at runtime.

    Jars that wish to make use of this mechanism (which avoids scanning the jar) should place a class named PluginModule implementing this interface in their default package.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.reflect.Type> getTypes()
      Returns a list of Types that should be loaded as part of this module.
    • Method Detail

      • getTypes

        java.util.List<java.lang.reflect.Type> getTypes()
        Returns a list of Types that should be loaded as part of this module.
        Returns:
        a list of Types that should be loaded as part of this module, never null and never contains nulls