Package org.wildfly.service.descriptor
Interface UnaryServiceDescriptor.Provider<T>
-
- Type Parameters:
T- the service value type
- All Superinterfaces:
ServiceDescriptor<T>,ServiceDescriptor.Provider<T,UnaryServiceDescriptor<T>>,Supplier<UnaryServiceDescriptor<T>>,UnaryServiceDescriptor<T>
- Enclosing interface:
- UnaryServiceDescriptor<T>
public static interface UnaryServiceDescriptor.Provider<T> extends ServiceDescriptor.Provider<T,UnaryServiceDescriptor<T>>, UnaryServiceDescriptor<T>
Provides a one 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.UnaryServiceDescriptor
UnaryServiceDescriptor.Provider<T>
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Map.Entry<String,String[]>resolve(String reference)Resolves the dynamic name of the service using the specified segment.-
Methods inherited from interface org.wildfly.service.descriptor.ServiceDescriptor.Provider
getName, getType
-
Methods inherited from interface org.wildfly.service.descriptor.UnaryServiceDescriptor
asType
-
-
-
-
Method Detail
-
resolve
default Map.Entry<String,String[]> resolve(String reference)
Description copied from interface:UnaryServiceDescriptorResolves the dynamic name of the service using the specified segment.- Specified by:
resolvein interfaceUnaryServiceDescriptor<T>- Parameters:
reference- a dynamic segment- Returns:
- a tuple containing the resolved name and dynamic segments
-
-