Annotation Interface WiredTo


@Retention(CLASS) @Target(PARAMETER) public @interface WiredTo

Used on a module builder class to specify how the socket beans of a module are wired to module beans and/or imported module beans. This is actually necessary to be able to import required modules beans in a module while preventing dependency cycles.

This annotation has to be exposed in the API for the module to compile but it is only useful to the Inverno compiler when generating module classes and as a result should never be used in the development of a module.

Since:
1.0
Author:
Jeremy Kuhn
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Indicates the name of the module beans a socket bean is wired to.
  • Element Details

    • value

      String[] value
      Indicates the name of the module beans a socket bean is wired to.
      Returns:
      A list of beans