Package io.smallrye.reactive.messaging
Class DefaultMediatorConfiguration.ReturnTypeGenericTypeAssignable
- java.lang.Object
-
- io.smallrye.reactive.messaging.DefaultMediatorConfiguration.ReturnTypeGenericTypeAssignable
-
- All Implemented Interfaces:
MediatorConfigurationSupport.GenericTypeAssignable
- Enclosing class:
- DefaultMediatorConfiguration
protected static class DefaultMediatorConfiguration.ReturnTypeGenericTypeAssignable extends Object
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.smallrye.reactive.messaging.MediatorConfigurationSupport.GenericTypeAssignable
MediatorConfigurationSupport.GenericTypeAssignable.Result
-
-
Method Summary
All Methods Instance Methods Concrete 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
public MediatorConfigurationSupport.GenericTypeAssignable.Result check(Class<?> target, int index)
- Specified by:
check
in interfaceMediatorConfigurationSupport.GenericTypeAssignable
-
getType
public Type getType(int index)
Description copied from interface:MediatorConfigurationSupport.GenericTypeAssignable
Gets the underlying type. For example, on aMessage<X>
, it returnsX
.- Specified by:
getType
in interfaceMediatorConfigurationSupport.GenericTypeAssignable
- Parameters:
index
- the index of the type- Returns:
- the type,
null
if not set or wildcard
-
getType
public Type getType(int index, int subIndex)
Description copied from interface:MediatorConfigurationSupport.GenericTypeAssignable
Gets the underlying sub-type. For example, on aPublisher<Message<X>>
, it returnsX
.- Specified by:
getType
in interfaceMediatorConfigurationSupport.GenericTypeAssignable
- Parameters:
index
- the index of the typesubIndex
- the second index- Returns:
- the type,
null
if not set or wildcard
-
-