org.ops4j.pax.coin.spi
Interface ConfigSelector
- All Known Implementing Classes:
- ComparatorBasedConfigSelector
public interface ConfigSelector
Selects active configuration group from a set of configurations with the same id.
Active configuration is the configuration that is used at a certain moment in time to update managed services and/or
managed service factories.
Usually the selector will use the congiguration group metadata to decide which configuration is the most up to date
based on metadata as timestamp and/or version.
- Since:
- 0.3.0, March 02, 2008
- Author:
- Alin Dreghiciu
selectFrom
ConfigGroup selectFrom(ConfigGroup... configGroups)
- Returns the active configuration group for from provided configurations.
- Parameters:
configGroups
- array of configuration groups; cannot be null or empty
- Returns:
- active configuration; cannot be null
Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.