public class FunctionExtractingFunctionCatalog extends Object implements org.springframework.cloud.function.core.FunctionCatalog, FunctionInspector, org.springframework.beans.factory.DisposableBean
| Constructor and Description |
|---|
FunctionExtractingFunctionCatalog() |
FunctionExtractingFunctionCatalog(String name,
String... profiles) |
| Modifier and Type | Method and Description |
|---|---|
Object |
convert(Object function,
String value) |
String |
deploy(String name,
String path,
String... args) |
Map<String,Object> |
deployed() |
void |
destroy() |
Set<String> |
getConsumerNames() |
Set<String> |
getFunctionNames() |
Class<?> |
getInputType(Object function) |
Class<?> |
getInputWrapper(Object function) |
String |
getName(Object function) |
Class<?> |
getOutputType(Object function) |
Class<?> |
getOutputWrapper(Object function) |
Set<String> |
getSupplierNames() |
boolean |
isMessage(Object function) |
<T> Consumer<T> |
lookupConsumer(String name) |
<T,R> Function<T,R> |
lookupFunction(String name) |
<T> Supplier<T> |
lookupSupplier(String name) |
org.springframework.cloud.function.deployer.DeployedArtifact |
undeploy(String name) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisWrapperpublic void destroy()
throws Exception
destroy in interface org.springframework.beans.factory.DisposableBeanExceptionpublic <T> Consumer<T> lookupConsumer(String name)
lookupConsumer in interface org.springframework.cloud.function.core.FunctionCatalogpublic <T,R> Function<T,R> lookupFunction(String name)
lookupFunction in interface org.springframework.cloud.function.core.FunctionCatalogpublic <T> Supplier<T> lookupSupplier(String name)
lookupSupplier in interface org.springframework.cloud.function.core.FunctionCatalogpublic Set<String> getSupplierNames()
getSupplierNames in interface org.springframework.cloud.function.core.FunctionCatalogpublic Set<String> getFunctionNames()
getFunctionNames in interface org.springframework.cloud.function.core.FunctionCatalogpublic Set<String> getConsumerNames()
getConsumerNames in interface org.springframework.cloud.function.core.FunctionCatalogpublic boolean isMessage(Object function)
isMessage in interface FunctionInspectorpublic Class<?> getInputType(Object function)
getInputType in interface FunctionInspectorpublic Class<?> getOutputType(Object function)
getOutputType in interface FunctionInspectorpublic Class<?> getInputWrapper(Object function)
getInputWrapper in interface FunctionInspectorpublic Class<?> getOutputWrapper(Object function)
getOutputWrapper in interface FunctionInspectorpublic Object convert(Object function, String value)
convert in interface FunctionInspectorpublic String getName(Object function)
getName in interface FunctionInspectorpublic org.springframework.cloud.function.deployer.DeployedArtifact undeploy(String name)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.