Class WadlGeneratorConfigLoader
java.lang.Object
org.glassfish.jersey.server.wadl.config.WadlGeneratorConfigLoader
Loads a
If no
WadlGeneratorConfig
and provides access to the WadlGenerator
provided by the loaded WadlGeneratorConfig
.If no
WadlGeneratorConfig
is provided, the default WadlGenerator
will be loaded.- Author:
- Martin Grotzke (martin.grotzke at freiheit.com)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic WadlGeneratorConfig
loadWadlGeneratorsFromConfig
(Map<String, Object> properties) Load theWadlGeneratorConfig
from the providedResourceConfig
using the propertyServerProperties.WADL_GENERATOR_CONFIG
.
-
Constructor Details
-
WadlGeneratorConfigLoader
public WadlGeneratorConfigLoader()
-
-
Method Details
-
loadWadlGeneratorsFromConfig
Load theWadlGeneratorConfig
from the providedResourceConfig
using the propertyServerProperties.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 defaultWadlGeneratorJAXBGrammarGenerator
will be used.- Parameters:
properties
- configuration properties of deployed Jersey application.- Returns:
- a configure
WadlGeneratorConfig
.
-