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