Annotation Type InjectService

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean required
      Is the service to be injected required (not optional)?
      Class serviceRole
      The service role to inject, the default is to use the type of the parameter to which this method is attached.
    • Element Detail

      • serviceRole

        Class serviceRole
        The service role to inject, the default is to use the type of the parameter to which this method is attached.
        Returns:
        The service role.
        Default:
        java.lang.Void.class
      • required

        boolean required
        Is the service to be injected required (not optional)?
        Returns:
        True if the service is required.
        Default:
        true