Package tigase.kernel.beans

## Annotation Type Inject

-     @Target(FIELD)
      @Retention(RUNTIME)
      @Inherited
      @Documented
      public @interface Inject

  This annotation marks field in class that Kernel should inject dependency here.

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element | Description
    --- | --- | ---
    `java.lang.String` | `bean` | Name of bean to be injected (optional).
    `boolean` | `nullAllowed` | Specify if injection of dependency is required or not.
    `java.lang.Class<?>` | `type` | Type of bean to be injected (opiotnal).

- - ### Element Detail

    - #### bean

          java.lang.String bean

      Name of bean to be injected (optional).
      Returns:
        name of bean.
      Default:
        ""

  - - #### nullAllowed

          boolean nullAllowed

      Specify if injection of dependency is required or not.
      Returns:
        `true` if `null` value is allowed to inject.
      Default:
        false

  - - #### type

          java.lang.Class<?> type

      Type of bean to be injected (opiotnal).
      Returns:
        type of bean.
      Default:
        tigase.kernel.beans.Inject.EMPTY.class