Class StandardMethodTargetRegistrar

java.lang.Object
org.springframework.shell.standard.StandardMethodTargetRegistrar
All Implemented Interfaces:
org.springframework.shell.MethodTargetRegistrar

public class StandardMethodTargetRegistrar extends Object implements org.springframework.shell.MethodTargetRegistrar
The standard implementation of MethodTargetRegistrar for new shell applications, resolves methods annotated with ShellMethod on ShellComponent beans.
  • Constructor Summary

    Constructors
    Constructor
    Description
    StandardMethodTargetRegistrar(org.springframework.context.ApplicationContext applicationContext, org.springframework.shell.command.CommandRegistration.BuilderSupplier commandRegistrationBuilderSupplier)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    register(org.springframework.shell.command.CommandCatalog registry)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • StandardMethodTargetRegistrar

      public StandardMethodTargetRegistrar(org.springframework.context.ApplicationContext applicationContext, org.springframework.shell.command.CommandRegistration.BuilderSupplier commandRegistrationBuilderSupplier)
  • Method Details

    • register

      public void register(org.springframework.shell.command.CommandCatalog registry)
      Specified by:
      register in interface org.springframework.shell.MethodTargetRegistrar