public interface Factory
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
createFromConfigSource(java.lang.Object configSource,
AVList params)
Creates an object from a general configuration source.
|
java.lang.Object createFromConfigSource(java.lang.Object configSource, AVList params)
configSource
- the configuration source.params
- properties to apply during object creation.java.lang.IllegalArgumentException
- if the configuration source is null or an empty string.WWUnrecognizedException
- if the type of source or some object-specific value is unrecognized.WWRuntimeException
- if object creation fails. The exception indicating the source of the failure is
included as the Throwable.initCause(Throwable)
.