Class SimpleExtensionConfigurer

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract void configure​(ConfigRegistry config, java.lang.annotation.Annotation annotation, java.lang.Class<?> extensionType)
      Updates configuration for the given annotation on an extension type.
      void configureForMethod​(ConfigRegistry config, java.lang.annotation.Annotation annotation, java.lang.Class<?> extensionType, java.lang.reflect.Method method)
      Configures the config for the given annotation on a extension type method.
      void configureForType​(ConfigRegistry config, java.lang.annotation.Annotation annotation, java.lang.Class<?> extensionType)
      Updates configuration for the given annotation on an extension type.
      • Methods inherited from class java.lang.Object

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

      • SimpleExtensionConfigurer

        public SimpleExtensionConfigurer()
    • Method Detail

      • configureForType

        public final void configureForType​(ConfigRegistry config,
                                           java.lang.annotation.Annotation annotation,
                                           java.lang.Class<?> extensionType)
        Description copied from interface: ExtensionConfigurer
        Updates configuration for the given annotation on an extension type.
        Specified by:
        configureForType in interface ExtensionConfigurer
        Parameters:
        config - the config to configure
        annotation - the annotation
        extensionType - the extension type which was annotated
      • configureForMethod

        public final void configureForMethod​(ConfigRegistry config,
                                             java.lang.annotation.Annotation annotation,
                                             java.lang.Class<?> extensionType,
                                             java.lang.reflect.Method method)
        Description copied from interface: ExtensionConfigurer
        Configures the config for the given annotation on a extension type method.
        Specified by:
        configureForMethod in interface ExtensionConfigurer
        Parameters:
        config - the config to configure
        annotation - the annotation
        extensionType - the extension type
        method - the method which was annotated
      • configure

        public abstract void configure​(ConfigRegistry config,
                                       java.lang.annotation.Annotation annotation,
                                       java.lang.Class<?> extensionType)
        Updates configuration for the given annotation on an extension type.
        Parameters:
        config - The ConfigRegistry object to configure
        annotation - The annotation that invoked this method
        extensionType - the extension type which was annotated