public interface PropertyFileConfig extends DeltaSpikeConfig
If you implement this interface inside a Bean Archive
(a JAR or ClassPath entry with a META-INF/beans.xml file),
the property files with the given file name
will be registered as ConfigSources.
DeltaSpike will automatically pickup all the implementations
during the ProcessAnnotatedType
phase and create a new instance via reflection. Thus the
implementations will need a non-private default constructor.
There is no CDI injection being performed in those instances!
The scope of the implementations will also be ignored as they will
not get picked up as CDI beans.
Please note that the configuration will only be available after the boot is finished. This means that you cannot use this configuration inside a CDI Extension before the boot is finished!
| Modifier and Type | Method and Description |
|---|---|
String |
getPropertyFileName()
All the property files on the classpath which have this
name will get picked up and registered as
ConfigSources. |
String getPropertyFileName()
ConfigSources.Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.