public class WadlGeneratorConfigLoader extends 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(Map<String,Object> properties)
Load the
WadlGeneratorConfig from the provided ResourceConfig using the
property ServerProperties.WADL_GENERATOR_CONFIG . |
public static WadlGeneratorConfig loadWadlGeneratorsFromConfig(Map<String,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
.Copyright © 2007-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.