Package org.wildfly.service.descriptor
Interface TernaryServiceDescriptor.Provider<T>
-
- Type Parameters:
T- the service value type
- All Superinterfaces:
ServiceDescriptor<T>,ServiceDescriptor.Provider<T,TernaryServiceDescriptor<T>>,Supplier<TernaryServiceDescriptor<T>>,TernaryServiceDescriptor<T>
- Enclosing interface:
- TernaryServiceDescriptor<T>
public static interface TernaryServiceDescriptor.Provider<T> extends ServiceDescriptor.Provider<T,TernaryServiceDescriptor<T>>, TernaryServiceDescriptor<T>
Provides a three segment service descriptor. Typically implemented by enumerations providing service descriptors of the same type.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.wildfly.service.descriptor.ServiceDescriptor
ServiceDescriptor.Provider<T,SD extends ServiceDescriptor<T>>
-
Nested classes/interfaces inherited from interface org.wildfly.service.descriptor.TernaryServiceDescriptor
TernaryServiceDescriptor.Provider<T>
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Map.Entry<String,String[]>resolve(String grandparent, String parent, String child)Resolves the dynamic name the service using the specified segments.-
Methods inherited from interface org.wildfly.service.descriptor.ServiceDescriptor.Provider
getName, getType
-
Methods inherited from interface org.wildfly.service.descriptor.TernaryServiceDescriptor
asType
-
-
-
-
Method Detail
-
resolve
default Map.Entry<String,String[]> resolve(String grandparent, String parent, String child)
Description copied from interface:TernaryServiceDescriptorResolves the dynamic name the service using the specified segments.- Specified by:
resolvein interfaceTernaryServiceDescriptor<T>- Parameters:
grandparent- the first dynamic segmentparent- the second dynamic segmentchild- the third dynamic segment- Returns:
- a tuple containing the resolved name and dynamic segments
-
-