@Component public class LegacyMethodTargetRegistrar extends Object implements MethodTargetRegistrar
MethodTargetRegistrar
that discovers methods annotated with CliCommand
on beans
implementing the CommandMarker
marker interface.Constructor and Description |
---|
LegacyMethodTargetRegistrar() |
Modifier and Type | Method and Description |
---|---|
void |
register(ConfigurableCommandRegistry registry)
Register mappings from <command keyword(s)> to actual behavior.
|
String |
toString() |
public void register(ConfigurableCommandRegistry registry)
MethodTargetRegistrar
register
in interface MethodTargetRegistrar
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.