Package io.smallrye.reactive.messaging
Interface MediatorConfigurationSupport.GenericTypeAssignable
-
- All Known Implementing Classes:
DefaultMediatorConfiguration.AlwaysInvalidIndexGenericTypeAssignable
,DefaultMediatorConfiguration.MethodParamGenericTypeAssignable
,DefaultMediatorConfiguration.ReturnTypeGenericTypeAssignable
- Enclosing class:
- MediatorConfigurationSupport
public static interface MediatorConfigurationSupport.GenericTypeAssignable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
MediatorConfigurationSupport.GenericTypeAssignable.Result
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MediatorConfigurationSupport.GenericTypeAssignable.Result
check(Class<?> target, int index)
Type
getType(int index)
Gets the underlying type.Type
getType(int index, int subIndex)
Gets the underlying sub-type.
-
-
-
Method Detail
-
check
MediatorConfigurationSupport.GenericTypeAssignable.Result check(Class<?> target, int index)
-
getType
Type getType(int index)
Gets the underlying type. For example, on aMessage<X>
, it returnsX
.- Parameters:
index
- the index of the type- Returns:
- the type,
null
if not set or wildcard
-
getType
Type getType(int index, int subIndex)
Gets the underlying sub-type. For example, on aPublisher<Message<X>>
, it returnsX
.- Parameters:
index
- the index of the typesubIndex
- the second index- Returns:
- the type,
null
if not set or wildcard
-
-