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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WadlGeneratorConfigloadWadlGeneratorsFromConfig(Map<String, Object> properties) Load theWadlGeneratorConfigfrom the providedResourceConfigusing the propertyServerProperties.WADL_GENERATOR_CONFIG.
-
Constructor Details
-
WadlGeneratorConfigLoader
public WadlGeneratorConfigLoader()
-
-
Method Details
-
loadWadlGeneratorsFromConfig
Load theWadlGeneratorConfigfrom the providedResourceConfigusing 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 defaultWadlGeneratorJAXBGrammarGeneratorwill be used.- Parameters:
properties- configuration properties of deployed Jersey application.- Returns:
- a configure
WadlGeneratorConfig.
-