Class DefaultMediatorConfiguration.MethodParamGenericTypeAssignable
- java.lang.Object
-
- io.smallrye.reactive.messaging.providers.DefaultMediatorConfiguration.MethodParamGenericTypeAssignable
-
- All Implemented Interfaces:
MediatorConfigurationSupport.GenericTypeAssignable
- Enclosing class:
- DefaultMediatorConfiguration
public static class DefaultMediatorConfiguration.MethodParamGenericTypeAssignable extends Object
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.smallrye.reactive.messaging.providers.MediatorConfigurationSupport.GenericTypeAssignable
MediatorConfigurationSupport.GenericTypeAssignable.Result
-
-
Constructor Summary
Constructors Constructor Description MethodParamGenericTypeAssignable(Method method, int paramIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MediatorConfigurationSupport.GenericTypeAssignable.Resultcheck(Class<?> target, int index)TypegetType(int index)Gets the underlying type.TypegetType(int index, int subIndex)Gets the underlying sub-type.
-
-
-
Constructor Detail
-
MethodParamGenericTypeAssignable
public MethodParamGenericTypeAssignable(Method method, int paramIndex)
-
-
Method Detail
-
check
public MediatorConfigurationSupport.GenericTypeAssignable.Result check(Class<?> target, int index)
- Specified by:
checkin interfaceMediatorConfigurationSupport.GenericTypeAssignable
-
getType
public Type getType(int index)
Description copied from interface:MediatorConfigurationSupport.GenericTypeAssignableGets the underlying type. For example, on aMessage<X>, it returnsX.- Specified by:
getTypein interfaceMediatorConfigurationSupport.GenericTypeAssignable- Parameters:
index- the index of the type- Returns:
- the type,
nullif not set or wildcard
-
getType
public Type getType(int index, int subIndex)
Description copied from interface:MediatorConfigurationSupport.GenericTypeAssignableGets the underlying sub-type. For example, on aPublisher<Message<X>>, it returnsX.- Specified by:
getTypein interfaceMediatorConfigurationSupport.GenericTypeAssignable- Parameters:
index- the index of the typesubIndex- the second index- Returns:
- the type,
nullif not set or wildcard
-
-