public class InMemoryFunctionCatalog extends Object implements FunctionRegistry, org.springframework.context.ApplicationEventPublisherAware
| Constructor and Description |
|---|
InMemoryFunctionCatalog() |
InMemoryFunctionCatalog(Set<FunctionRegistration<?>> registrations) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Set<String> |
getNames(Class<?> type) |
void |
init() |
<T> T |
lookup(Class<?> type,
String name) |
<T> void |
register(FunctionRegistration<T> registration) |
void |
setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher) |
public InMemoryFunctionCatalog()
public InMemoryFunctionCatalog(Set<FunctionRegistration<?>> registrations)
public <T> void register(FunctionRegistration<T> registration)
register in interface FunctionRegistrypublic void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher)
setApplicationEventPublisher in interface org.springframework.context.ApplicationEventPublisherAware@PostConstruct public void init()
@PreDestroy public void close()
public <T> T lookup(Class<?> type, String name)
lookup in interface FunctionCatalogpublic Set<String> getNames(Class<?> type)
getNames in interface FunctionCatalogCopyright © 2019 Pivotal Software, Inc.. All rights reserved.