Class SpringIocPluginsService
java.lang.Object
eu.rarogsoftware.rarog.platform.core.plugins.spring.SpringIocPluginsService
- All Implemented Interfaces:
PluginsService
-
Constructor Summary
ConstructorsConstructorDescriptionSpringIocPluginsService
(org.springframework.context.ApplicationContext applicationContext) -
Method Summary
Modifier and TypeMethodDescription<T> Collection<? extends T>
getInstancesOf
(Class<? extends T> interfaceClass) Returns instance of services that implement specified interface.
-
Constructor Details
-
SpringIocPluginsService
public SpringIocPluginsService(org.springframework.context.ApplicationContext applicationContext)
-
-
Method Details
-
getInstancesOf
Description copied from interface:PluginsService
Returns instance of services that implement specified interface.- Specified by:
getInstancesOf
in interfacePluginsService
- Type Parameters:
T
- type of interface- Parameters:
interfaceClass
- interface of service to retrieve- Returns:
- instances of service or empty collection if no services found
-