public abstract class FunctionFactoryUtils extends Object
Miscellaneous utility operations to interrogate functional components (beans) configured in BeanFactory.
It is important to understand that it is not a general purpose utility to interrogate "any" functional component. Certain operations may/will not work as expected due to java type erasure. While BeanFactory is not the requirement, this utility is targeting only the components defined in such way where they could be configured as
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isFluxConsumer(Consumer<?> consumer) |
static boolean |
isFluxConsumer(Method method) |
static boolean |
isFluxFunction(Function<?,?> function) |
static boolean |
isFluxFunction(Method method) |
static boolean |
isFluxSupplier(Method method) |
static boolean |
isFluxSupplier(Supplier<?> supplier) |
public static boolean isFluxConsumer(Consumer<?> consumer)
public static boolean isFluxConsumer(Method method)
public static boolean isFluxSupplier(Supplier<?> supplier)
public static boolean isFluxSupplier(Method method)
public static boolean isFluxFunction(Function<?,?> function)
public static boolean isFluxFunction(Method method)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.