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(ResourceConfig resourceConfig)
Load the
WadlGeneratorConfig from the provided ResourceConfig using the
property ResourceConfig.PROPERTY_WADL_GENERATOR_CONFIG . |
public static WadlGeneratorConfig loadWadlGeneratorsFromConfig(ResourceConfig resourceConfig)
WadlGeneratorConfig
from the provided ResourceConfig
using the
property ResourceConfig.PROPERTY_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.
resourceConfig
- WadlGeneratorConfig
.Copyright © 2016 Oracle Corporation. All Rights Reserved.