org.apache.myfaces.extensions.cdi.core.api.config
Interface ConfiguredValueResolver
- All Superinterfaces:
- Deactivatable
public interface ConfiguredValueResolver
- extends Deactivatable
Allows to customize CODI in case of extension points which aren't supported by CDI.
E.g. for artifacts which are needed before the bootstrapping process is finished.
resolveInstances
<K,T> List<T> resolveInstances(ConfiguredValueDescriptor<K,T> descriptor)
- Resolves 0-n instances configured for the given key of the type which is provided via the
ConfiguredValueDescriptor
.
- Type Parameters:
K
- type of the keyT
- type of the configured value- Parameters:
descriptor
- given descriptor for the configured-value
- Returns:
- all configured values for the given descriptor
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.