Class WadlGeneratorConfigLoader
- java.lang.Object
-
- org.glassfish.jersey.server.wadl.config.WadlGeneratorConfigLoader
-
public class WadlGeneratorConfigLoader extends Object
Loads aWadlGeneratorConfigand provides access to theWadlGeneratorprovided by the loadedWadlGeneratorConfig.
If noWadlGeneratorConfigis provided, the defaultWadlGeneratorwill be loaded.- Author:
- Martin Grotzke (martin.grotzke at freiheit.com)
-
-
Constructor Summary
Constructors Constructor Description WadlGeneratorConfigLoader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WadlGeneratorConfigloadWadlGeneratorsFromConfig(Map<String,Object> properties)Load theWadlGeneratorConfigfrom the providedResourceConfigusing the propertyServerProperties.WADL_GENERATOR_CONFIG.
-
-
-
Method Detail
-
loadWadlGeneratorsFromConfig
public static WadlGeneratorConfig loadWadlGeneratorsFromConfig(Map<String,Object> properties)
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.
-
-