Annotation Type ServiceId


  • ({,})
    ()
    
    @UseWith({SERVICE,MODULE})
    public @interface ServiceId
    An optional annotation that may be placed on a service building method of a module, or on the implementation class (when using service binding via the ServiceBinder). The annotation overrides the default id for services (the default service id is the simple name of the service interface).
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      value
      An identifier of a service.
    • Element Detail

      • value

         value
        An identifier of a service.