| Package | Description |
|---|---|
| org.springframework.cloud.function.compiler |
| Modifier and Type | Method and Description |
|---|---|
CompiledFunctionFactory<F> |
AbstractFunctionCompiler.compile(String name,
String code,
String... resultTypeParameterizations)
Produce a factory instance by:
Decoding the code String to process any newlines/double-double-quotes
Insert the code into the source code template for a class
Compiling the class using the JDK provided Java Compiler
Loading the compiled class
Invoking a well known method on the factory class to produce a Consumer,
Function, or Supplier instance
Returning that instance.
|
protected CompiledFunctionFactory<Consumer<T>> |
ConsumerCompiler.postProcessCompiledFunctionFactory(CompiledFunctionFactory<Consumer<T>> factory) |
protected CompiledFunctionFactory<F> |
AbstractFunctionCompiler.postProcessCompiledFunctionFactory(CompiledFunctionFactory<F> factory)
Implementing subclasses may override this, e.g.
|
protected CompiledFunctionFactory<Function<T,R>> |
FunctionCompiler.postProcessCompiledFunctionFactory(CompiledFunctionFactory<Function<T,R>> factory) |
protected CompiledFunctionFactory<Supplier<T>> |
SupplierCompiler.postProcessCompiledFunctionFactory(CompiledFunctionFactory<Supplier<T>> factory) |
| Modifier and Type | Method and Description |
|---|---|
protected CompiledFunctionFactory<Consumer<T>> |
ConsumerCompiler.postProcessCompiledFunctionFactory(CompiledFunctionFactory<Consumer<T>> factory) |
protected CompiledFunctionFactory<F> |
AbstractFunctionCompiler.postProcessCompiledFunctionFactory(CompiledFunctionFactory<F> factory)
Implementing subclasses may override this, e.g.
|
protected CompiledFunctionFactory<Function<T,R>> |
FunctionCompiler.postProcessCompiledFunctionFactory(CompiledFunctionFactory<Function<T,R>> factory) |
protected CompiledFunctionFactory<Supplier<T>> |
SupplierCompiler.postProcessCompiledFunctionFactory(CompiledFunctionFactory<Supplier<T>> factory) |
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.