public class ConfigurationExtension extends Object implements javax.enterprise.inject.spi.Extension
Config
,
ConfigDefaultSections
,
ConfigException
Constructor and Description |
---|
ConfigurationExtension() |
Modifier and Type | Method and Description |
---|---|
void |
addConverter(javax.enterprise.inject.spi.AfterBeanDiscovery abd,
javax.enterprise.inject.spi.BeanManager bm) |
void |
captureConvertBean(javax.enterprise.inject.spi.ProcessProducerMethod<?,?> ppm) |
static List<String> |
evaluateKeys(String memberName,
String[] keys,
String[] sections)
Evaluates the effective keys to be used. if no
keys are defined, memberName is used. |
void |
retrieveTypes(javax.enterprise.inject.spi.ProcessBean<?> pb,
javax.enterprise.inject.spi.BeanManager beanManager)
Method that checks the configuration injection points during deployment for available configuration.
|
public void retrieveTypes(@Observes javax.enterprise.inject.spi.ProcessBean<?> pb, javax.enterprise.inject.spi.BeanManager beanManager)
pb
- the bean to process.beanManager
- the bean manager to notify about new injections.public void captureConvertBean(@Observes javax.enterprise.inject.spi.ProcessProducerMethod<?,?> ppm)
public void addConverter(@Observes javax.enterprise.inject.spi.AfterBeanDiscovery abd, javax.enterprise.inject.spi.BeanManager bm)
public static List<String> evaluateKeys(String memberName, String[] keys, String[] sections)
keys
are defined, memberName
is used.
The effective keys are then combined with the sections given (if any) and only, if the given keys are not
absolute keys (surrounded by brackets).memberName
- the default member name, not null.keys
- the keys, may be empty, or null.sections
- the default sections, may be empty. May also be null.Copyright © 2014–2016 Apache Software Foundation. All rights reserved.