Package org.wildfly.service.descriptor
Interface NullaryServiceDescriptor.Provider<T>
-
- Type Parameters:
T- the service value type
- All Superinterfaces:
NullaryServiceDescriptor<T>,ServiceDescriptor<T>,ServiceDescriptor.Provider<T,NullaryServiceDescriptor<T>>,Supplier<NullaryServiceDescriptor<T>>
- Enclosing interface:
- NullaryServiceDescriptor<T>
public static interface NullaryServiceDescriptor.Provider<T> extends ServiceDescriptor.Provider<T,NullaryServiceDescriptor<T>>, NullaryServiceDescriptor<T>
Provides a zero 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.NullaryServiceDescriptor
NullaryServiceDescriptor.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()Resolves the constant name of the service.-
Methods inherited from interface org.wildfly.service.descriptor.NullaryServiceDescriptor
asType
-
Methods inherited from interface org.wildfly.service.descriptor.ServiceDescriptor.Provider
getName, getType
-
-
-
-
Method Detail
-
resolve
default Map.Entry<String,String[]> resolve()
Description copied from interface:NullaryServiceDescriptorResolves the constant name of the service.- Specified by:
resolvein interfaceNullaryServiceDescriptor<T>- Returns:
- a tuple containing the resolved name and zero segments
-
-