Class SpringIocPluginsService

java.lang.Object
eu.rarogsoftware.rarog.platform.core.plugins.spring.SpringIocPluginsService
All Implemented Interfaces:
PluginsService

@Component public class SpringIocPluginsService extends Object implements PluginsService
  • Constructor Details

    • SpringIocPluginsService

      public SpringIocPluginsService(org.springframework.context.ApplicationContext applicationContext)
  • Method Details

    • getInstancesOf

      public <T> Collection<? extends T> getInstancesOf(Class<? extends T> interfaceClass)
      Description copied from interface: PluginsService
      Returns instance of services that implement specified interface.
      Specified by:
      getInstancesOf in interface PluginsService
      Type Parameters:
      T - type of interface
      Parameters:
      interfaceClass - interface of service to retrieve
      Returns:
      instances of service or empty collection if no services found