Package org.jboss.resteasy.core.config
Class DefaultConfigurationFactory
- java.lang.Object
-
- org.jboss.resteasy.core.config.DefaultConfigurationFactory
-
- All Implemented Interfaces:
ConfigurationFactory
public class DefaultConfigurationFactory extends Object implements ConfigurationFactory
A default configuration factory with a priority of 500.- Author:
- James R. Perkins
-
-
Constructor Summary
Constructors Constructor Description DefaultConfigurationFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Configuration
getConfiguration()
Returns the configuration for the current context.int
priority()
The ranking priority for the this factory.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.resteasy.spi.config.ConfigurationFactory
getConfiguration
-
-
-
-
Method Detail
-
getConfiguration
public Configuration getConfiguration()
Description copied from interface:ConfigurationFactory
Returns the configuration for the current context.- Specified by:
getConfiguration
in interfaceConfigurationFactory
- Returns:
- the configuration
-
priority
public int priority()
Description copied from interface:ConfigurationFactory
The ranking priority for the this factory. The lowest priority will be the one selected.- Specified by:
priority
in interfaceConfigurationFactory
- Returns:
- the priority
-
-