public class StandardMethodTargetRegistrar extends Object implements MethodTargetRegistrar
MethodTargetRegistrar for new shell
applications, resolves methods annotated with ShellMethod on
ShellComponent beans.| Constructor and Description |
|---|
StandardMethodTargetRegistrar() |
| Modifier and Type | Method and Description |
|---|---|
void |
register(ConfigurableCommandRegistry registry)
Register mappings from <command keyword(s)> to actual behavior.
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
String |
toString() |
@Autowired public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
public void register(ConfigurableCommandRegistry registry)
MethodTargetRegistrarregister in interface MethodTargetRegistrarCopyright © 2018 Pivotal Software, Inc.. All rights reserved.