Package org.apache.cxf.jaxrs.impl
Class ConfigurationImpl
- java.lang.Object
-
- org.apache.cxf.jaxrs.impl.ConfigurationImpl
-
- All Implemented Interfaces:
javax.ws.rs.core.Configuration
public class ConfigurationImpl extends Object implements javax.ws.rs.core.Configuration
-
-
Constructor Summary
Constructors Constructor Description ConfigurationImpl(javax.ws.rs.core.Configuration parent)
ConfigurationImpl(javax.ws.rs.RuntimeType rt)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Object
createProvider(Class<?> cls)
Set<Class<?>>
getClasses()
Map<Class<?>,Integer>
getContracts(Class<?> cls)
Set<Object>
getInstances()
Map<String,Object>
getProperties()
Object
getProperty(String name)
Collection<String>
getPropertyNames()
javax.ws.rs.RuntimeType
getRuntimeType()
static Map<Class<?>,Integer>
initContractsMap(int bindingPriority, Class<?>... contracts)
boolean
isEnabled(Class<? extends javax.ws.rs.core.Feature> f)
boolean
isEnabled(javax.ws.rs.core.Feature f)
boolean
isRegistered(Class<?> cls)
boolean
isRegistered(Object obj)
boolean
register(Object provider, Map<Class<?>,Integer> contracts)
void
setFeature(javax.ws.rs.core.Feature f, boolean enabled)
void
setProperty(String name, Object value)
-
-
-
Method Detail
-
getClasses
public Set<Class<?>> getClasses()
- Specified by:
getClasses
in interfacejavax.ws.rs.core.Configuration
-
getContracts
public Map<Class<?>,Integer> getContracts(Class<?> cls)
- Specified by:
getContracts
in interfacejavax.ws.rs.core.Configuration
-
getInstances
public Set<Object> getInstances()
- Specified by:
getInstances
in interfacejavax.ws.rs.core.Configuration
-
getProperties
public Map<String,Object> getProperties()
- Specified by:
getProperties
in interfacejavax.ws.rs.core.Configuration
-
getProperty
public Object getProperty(String name)
- Specified by:
getProperty
in interfacejavax.ws.rs.core.Configuration
-
getPropertyNames
public Collection<String> getPropertyNames()
- Specified by:
getPropertyNames
in interfacejavax.ws.rs.core.Configuration
-
getRuntimeType
public javax.ws.rs.RuntimeType getRuntimeType()
- Specified by:
getRuntimeType
in interfacejavax.ws.rs.core.Configuration
-
isEnabled
public boolean isEnabled(javax.ws.rs.core.Feature f)
- Specified by:
isEnabled
in interfacejavax.ws.rs.core.Configuration
-
isEnabled
public boolean isEnabled(Class<? extends javax.ws.rs.core.Feature> f)
- Specified by:
isEnabled
in interfacejavax.ws.rs.core.Configuration
-
isRegistered
public boolean isRegistered(Object obj)
- Specified by:
isRegistered
in interfacejavax.ws.rs.core.Configuration
-
isRegistered
public boolean isRegistered(Class<?> cls)
- Specified by:
isRegistered
in interfacejavax.ws.rs.core.Configuration
-
setFeature
public void setFeature(javax.ws.rs.core.Feature f, boolean enabled)
-
initContractsMap
public static Map<Class<?>,Integer> initContractsMap(int bindingPriority, Class<?>... contracts)
-
-