Class SpringExtensionsRegistry

    • Constructor Detail

      • SpringExtensionsRegistry

        public SpringExtensionsRegistry​(org.springframework.beans.factory.ListableBeanFactory beanFactory)
        Creates a Spring-based extension registry.
        Parameters:
        beanFactory - the Spring bean factory
    • Method Detail

      • getExtensions

        public <T> List<T> getExtensions​(Class<T> extensionType)
        Returns all beans that match the extension class.
        Specified by:
        getExtensions in interface ExtensionsRegistry
        Type Parameters:
        T - generic extension type
        Parameters:
        extensionType - the extension type
        Returns:
        a list of extension objects
      • getExtensionBeanNames

        protected String[] getExtensionBeanNames​(Class<?> extensionType)
      • findExtensionBeanNames

        protected String[] findExtensionBeanNames​(Class<?> extensionType)