Interface Named

All Known Subinterfaces:
Database, InjectionLayer<I>, Module, RPCMethodMetadata, ServiceRegistryRegistration<S>, TemplateStorage
All Known Implementing Classes:
CommandInfo, DefaultInjectionLayer, DefaultModule, DriverEnvironment, DriverModule, GroupConfiguration, ModuleConfiguration, ModuleRepository, ServiceEnvironment, ServiceEnvironmentType, ServiceId, ServiceInfoSnapshot, ServiceTask, ServiceTemplate, ThreadSnapshot, UncloseableInjectionLayer
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Named
Identifies that the object implementing this interface can be identified using the name supplied by the name() method. There is guarantee that the given name is unique, however a nameable object must always be unique in a specific scope. This means that there might be a requirement for multiple parameters to be used in order to use the supplied name as an identifier.
Since:
4.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the unique name identifier of this object in the related scope.
  • Method Details

    • name

      Get the unique name identifier of this object in the related scope.
      Returns:
      the unique name identifier of this object in the related scope.