@Service public class TypeAndNameResolver extends Object implements CrudResolver
CrudResolver.DefaultResolver| Modifier and Type | Field and Description |
|---|---|
protected static LocalStringManagerImpl |
localStrings |
| Constructor and Description |
|---|
TypeAndNameResolver() |
| Modifier and Type | Method and Description |
|---|---|
String |
name() |
<T extends ConfigBeanProxy> |
resolve(AdminCommandContext context,
Class<T> type)
Retrieves the existing configuration object a command invocation is intented to mutate.
|
protected static final LocalStringManagerImpl localStrings
public <T extends ConfigBeanProxy> T resolve(AdminCommandContext context, Class<T> type)
CrudResolverresolve in interface CrudResolvercontext - the command invocation contexttype - the type of the expected instancepublic String name()
Copyright © 2019. All rights reserved.