public class WadlGeneratorConfigLoader
extends java.lang.Object
WadlGeneratorConfig
and provides access to the WadlGenerator
provided by the loaded WadlGeneratorConfig
.WadlGeneratorConfig
is provided, the default WadlGenerator
will be loaded.Constructor and Description |
---|
WadlGeneratorConfigLoader() |
Modifier and Type | Method and Description |
---|---|
static WadlGeneratorConfig |
loadWadlGeneratorsFromConfig(java.util.Map<java.lang.String,java.lang.Object> properties)
Load the
WadlGeneratorConfig from the provided ResourceConfig using the
property ServerProperties.WADL_GENERATOR_CONFIG . |
public static WadlGeneratorConfig loadWadlGeneratorsFromConfig(java.util.Map<java.lang.String,java.lang.Object> properties)
WadlGeneratorConfig
from the provided ResourceConfig
using the
property ServerProperties.WADL_GENERATOR_CONFIG
.
The type of this property must be a subclass or an instance of a subclass of
WadlGeneratorConfig
.
If it's not set, the default WadlGeneratorJAXBGrammarGenerator
will be used.
properties
- configuration properties of deployed Jersey application.WadlGeneratorConfig
.