Annotation Interface GuiceElementModule


@Target(PACKAGE) @Retention(RUNTIME) @Repeatable(GuiceElementModules.class) public @interface GuiceElementModule
Used with the ElementDefinition
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends com.google.inject.Module>
    Provides a Guice module to be used when creating the Elements.
  • Element Details

    • value

      Class<? extends com.google.inject.Module> value
      Provides a Guice module to be used when creating the Elements. In addition to the types provided by the ElementDefinition annotation, this allows the user to specify additional services as Guice modules.
      Returns:
      an array of Module types to be used when creating the element.