public interface Factory
Modifier and Type | Method and Description |
---|---|
Object |
createFromConfigSource(Object configSource,
AVList params)
Creates an object from a general configuration source.
|
Object createFromConfigSource(Object configSource, AVList params)
configSource
- the configuration source.params
- properties to apply during object creation.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)
.