public class InMemoryFunctionCatalog extends AbstractFunctionRegistry implements FunctionInspector, org.springframework.context.ApplicationEventPublisherAware
| Constructor and Description |
|---|
InMemoryFunctionCatalog() |
InMemoryFunctionCatalog(Set<FunctionRegistration<?>> registrations) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
<T> T |
doLookup(Class<?> type,
String name) |
Set<String> |
getNames(Class<?> type) |
FunctionRegistration<?> |
getRegistration(Object function) |
void |
init() |
<T> void |
register(FunctionRegistration<T> registration) |
void |
setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher) |
lookupclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInputType, getInputWrapper, getName, getOutputType, getOutputWrapper, isMessagelookup, sizepublic InMemoryFunctionCatalog()
public InMemoryFunctionCatalog(Set<FunctionRegistration<?>> registrations)
public FunctionRegistration<?> getRegistration(Object function)
getRegistration in interface FunctionInspectorpublic <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 doLookup(Class<?> type, String name)
doLookup in class AbstractFunctionRegistrypublic Set<String> getNames(Class<?> type)
getNames in interface FunctionCatalogCopyright © 2019 Pivotal Software, Inc.. All rights reserved.