Interface BinaryServiceDescriptor.Provider<T>

Type Parameters:
T - the service value type
All Superinterfaces:
BinaryServiceDescriptor<T>, ServiceDescriptor<T>, ServiceDescriptor.Provider<T,BinaryServiceDescriptor<T>>, Supplier<BinaryServiceDescriptor<T>>
Enclosing interface:
BinaryServiceDescriptor<T>

public static interface BinaryServiceDescriptor.Provider<T> extends ServiceDescriptor.Provider<T,BinaryServiceDescriptor<T>>, BinaryServiceDescriptor<T>
Provides a two segment service descriptor. Typically implemented by enumerations providing service descriptors of the same type.
  • Method Details

    • resolve

      default Map.Entry<String,String[]> resolve(String parent, String child)
      Description copied from interface: BinaryServiceDescriptor
      Resolves the dynamic name of the service using the specified segments.
      Specified by:
      resolve in interface BinaryServiceDescriptor<T>
      Parameters:
      parent - the first dynamic segment
      child - the second dynamic segment
      Returns:
      a tuple containing the resolved name and dynamic segments, or null if segments are not resolvable.