Interface QuaternaryServiceDescriptor.Provider<T>

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

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

    • resolve

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