public class ConfigurationImpl extends Object implements javax.ws.rs.core.Configuration
Constructor and Description |
---|
ConfigurationImpl(javax.ws.rs.core.Configuration parent,
Class<?>[] defaultContracts) |
ConfigurationImpl(javax.ws.rs.RuntimeType rt) |
Modifier and Type | Method and 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) |
public ConfigurationImpl(javax.ws.rs.RuntimeType rt)
public ConfigurationImpl(javax.ws.rs.core.Configuration parent, Class<?>[] defaultContracts)
public Set<Class<?>> getClasses()
getClasses
in interface javax.ws.rs.core.Configuration
public Map<Class<?>,Integer> getContracts(Class<?> cls)
getContracts
in interface javax.ws.rs.core.Configuration
public Set<Object> getInstances()
getInstances
in interface javax.ws.rs.core.Configuration
public Map<String,Object> getProperties()
getProperties
in interface javax.ws.rs.core.Configuration
public Object getProperty(String name)
getProperty
in interface javax.ws.rs.core.Configuration
public Collection<String> getPropertyNames()
getPropertyNames
in interface javax.ws.rs.core.Configuration
public javax.ws.rs.RuntimeType getRuntimeType()
getRuntimeType
in interface javax.ws.rs.core.Configuration
public boolean isEnabled(javax.ws.rs.core.Feature f)
isEnabled
in interface javax.ws.rs.core.Configuration
public boolean isEnabled(Class<? extends javax.ws.rs.core.Feature> f)
isEnabled
in interface javax.ws.rs.core.Configuration
public boolean isRegistered(Object obj)
isRegistered
in interface javax.ws.rs.core.Configuration
public boolean isRegistered(Class<?> cls)
isRegistered
in interface javax.ws.rs.core.Configuration
public void setFeature(javax.ws.rs.core.Feature f, boolean enabled)
public static Map<Class<?>,Integer> initContractsMap(int bindingPriority, Class<?>... contracts)
Apache CXF