Interface Module

  • All Known Subinterfaces:
    Module.Custom

    public interface Module
    A Module that can be included in BeanScope.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static interface  Module.Custom
      Marker for custom scoped modules.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void build​(Builder builder)
      Build all the beans.
      Class<?>[] provides()
      Return the set of types this module explicitly provides to other modules.
      Class<?>[] requires()
      Return the types this module needs to be provided externally or via other modules.
    • Method Detail

      • requires

        Class<?>[] requires()
        Return the types this module needs to be provided externally or via other modules.
      • provides

        Class<?>[] provides()
        Return the set of types this module explicitly provides to other modules.
      • build

        void build​(Builder builder)
        Build all the beans.