public interface NamedService
To be used with
ConfiguredProvider, each configured service may have a name.-
Method Summary
-
Method Details
-
name
String name()Name of this implementation, as provided inConfiguredProvider.create(Config, String).- Returns:
- name of this service
-
type
String type()Type of this implementation, to distinguish instances of same type, with differentname(). Use for exampleConfiguredProvider.configKey()to define the type.- Returns:
- type of this service
-