public class ComponentFactorySelector extends BasicResultSelector<IComponentFactory>
Constructor and Description |
---|
ComponentFactorySelector(String type)
Find a component factory for loading a specific component type.
|
ComponentFactorySelector(String model,
String[] imports,
IResourceIdentifier rid)
Find a matching component factory.
|
Modifier and Type | Method and Description |
---|---|
IService[] |
generateServiceArray(Map<Class<?>,Collection<IService>> servicemap)
Get all services of the map as linear collection.
|
getCacheKey, getFilter, isFinished, isOneResult, selectServices, setFilter, setOneResult, toString
public ComponentFactorySelector(String model, String[] imports, IResourceIdentifier rid)
model
- The model to be loaded.imports
- The imports (if any).classloader
- The class loader (if any).public ComponentFactorySelector(String type)
type
- The component type.public IService[] generateServiceArray(Map<Class<?>,Collection<IService>> servicemap)
generateServiceArray
in class BasicResultSelector<IComponentFactory>
Copyright © 2013. All Rights Reserved.