Package org.wildfly.service.descriptor
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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.wildfly.service.descriptor.BinaryServiceDescriptor
BinaryServiceDescriptor.Provider<T>
-
Nested classes/interfaces inherited from interface org.wildfly.service.descriptor.ServiceDescriptor
ServiceDescriptor.Provider<T,SD extends ServiceDescriptor<T>>
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Map.Entry<String,String[]>resolve(String parent, String child)Resolves the dynamic name of the service using the specified segments.-
Methods inherited from interface org.wildfly.service.descriptor.BinaryServiceDescriptor
asType
-
Methods inherited from interface org.wildfly.service.descriptor.ServiceDescriptor.Provider
getName, getType
-
-
-
-
Method Detail
-
resolve
default Map.Entry<String,String[]> resolve(String parent, String child)
Description copied from interface:BinaryServiceDescriptorResolves the dynamic name of the service using the specified segments.- Specified by:
resolvein interfaceBinaryServiceDescriptor<T>- Parameters:
parent- the first dynamic segmentchild- the second dynamic segment- Returns:
- a tuple containing the resolved name and dynamic segments
-
-