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
Methods inherited from interface org.wildfly.service.descriptor.ServiceDescriptor.Provider
getName, getTypeMethods inherited from interface org.wildfly.service.descriptor.UnaryServiceDescriptor
asType
-
Method Details
-
resolve
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, or null if segment is not resolvable.
-