public class FunctionExtractingFunctionCatalog extends Object implements FunctionCatalog, FunctionInspector, org.springframework.beans.factory.DisposableBean
| Constructor and Description |
|---|
FunctionExtractingFunctionCatalog() |
FunctionExtractingFunctionCatalog(String name,
String... profiles) |
| Modifier and Type | Method and Description |
|---|---|
String |
deploy(String name,
String path,
String... args) |
Map<String,Object> |
deployed() |
void |
destroy() |
String |
getName(Object function) |
Set<String> |
getNames(Class<?> type) |
FunctionRegistration<?> |
getRegistration(Object function) |
<T> T |
lookup(Class<?> type,
String name) |
void |
setProducer(SupplierInvokingMessageProducer<?> producer) |
void |
setRouteRegistrar(RouteRegistrar routes) |
org.springframework.cloud.function.deployer.DeployedArtifact |
undeploy(String name) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInputType, getInputWrapper, getOutputType, getOutputWrapper, isMessage@Autowired public void setRouteRegistrar(RouteRegistrar routes)
@Autowired public void setProducer(SupplierInvokingMessageProducer<?> producer)
public void destroy()
throws Exception
destroy in interface org.springframework.beans.factory.DisposableBeanExceptionpublic FunctionRegistration<?> getRegistration(Object function)
getRegistration in interface FunctionInspectorpublic <T> T lookup(Class<?> type, String name)
lookup in interface FunctionCatalogpublic Set<String> getNames(Class<?> type)
getNames in interface FunctionCatalogpublic String getName(Object function)
getName in interface FunctionInspectorpublic org.springframework.cloud.function.deployer.DeployedArtifact undeploy(String name)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.