Apache CXF API

org.apache.cxf.jaxrs.impl
Class ConfigurationImpl

java.lang.Object
  extended by 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
ConfigurationImpl(javax.ws.rs.core.Configuration parent, Class<?>[] defaultContracts)
           
ConfigurationImpl(javax.ws.rs.RuntimeType rt)
           
 
Method Summary
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)
           
 void register(Object provider, Map<Class<?>,Integer> contracts)
           
 void setFeature(javax.ws.rs.core.Feature f, boolean enabled)
           
 void setProperty(String name, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationImpl

public ConfigurationImpl(javax.ws.rs.RuntimeType rt)

ConfigurationImpl

public ConfigurationImpl(javax.ws.rs.core.Configuration parent,
                         Class<?>[] defaultContracts)
Method Detail

getClasses

public Set<Class<?>> getClasses()
Specified by:
getClasses in interface javax.ws.rs.core.Configuration

getContracts

public Map<Class<?>,Integer> getContracts(Class<?> cls)
Specified by:
getContracts in interface javax.ws.rs.core.Configuration

getInstances

public Set<Object> getInstances()
Specified by:
getInstances in interface javax.ws.rs.core.Configuration

getProperties

public Map<String,Object> getProperties()
Specified by:
getProperties in interface javax.ws.rs.core.Configuration

getProperty

public Object getProperty(String name)
Specified by:
getProperty in interface javax.ws.rs.core.Configuration

getPropertyNames

public Collection<String> getPropertyNames()
Specified by:
getPropertyNames in interface javax.ws.rs.core.Configuration

getRuntimeType

public javax.ws.rs.RuntimeType getRuntimeType()
Specified by:
getRuntimeType in interface javax.ws.rs.core.Configuration

isEnabled

public boolean isEnabled(javax.ws.rs.core.Feature f)
Specified by:
isEnabled in interface javax.ws.rs.core.Configuration

isEnabled

public boolean isEnabled(Class<? extends javax.ws.rs.core.Feature> f)
Specified by:
isEnabled in interface javax.ws.rs.core.Configuration

isRegistered

public boolean isRegistered(Object obj)
Specified by:
isRegistered in interface javax.ws.rs.core.Configuration

isRegistered

public boolean isRegistered(Class<?> cls)
Specified by:
isRegistered in interface javax.ws.rs.core.Configuration

setProperty

public void setProperty(String name,
                        Object value)

setFeature

public void setFeature(javax.ws.rs.core.Feature f,
                       boolean enabled)

register

public void register(Object provider,
                     Map<Class<?>,Integer> contracts)

initContractsMap

public static Map<Class<?>,Integer> initContractsMap(int bindingPriority,
                                                     Class<?>... contracts)

createProvider

public static Object createProvider(Class<?> cls)

Apache CXF API

Apache CXF