Apache CXF API

org.apache.cxf.jaxrs.impl
Class ConfigurableImpl<C extends javax.ws.rs.core.Configurable<C>>

java.lang.Object
  extended by org.apache.cxf.jaxrs.impl.ConfigurableImpl<C>
All Implemented Interfaces:
javax.ws.rs.core.Configurable<C>
Direct Known Subclasses:
ClientConfigurableImpl

public class ConfigurableImpl<C extends javax.ws.rs.core.Configurable<C>>
extends Object
implements javax.ws.rs.core.Configurable<C>


Nested Class Summary
static class ConfigurableImpl.FeatureContextImpl
           
 
Constructor Summary
ConfigurableImpl(C configurable, Class<?>[] supportedProviderClasses, javax.ws.rs.core.Configuration config)
           
ConfigurableImpl(C configurable, javax.ws.rs.RuntimeType rt, Class<?>[] supportedProviderClasses)
           
 
Method Summary
protected  C getConfigurable()
           
 javax.ws.rs.core.Configuration getConfiguration()
           
 C property(String name, Object value)
           
 C register(Class<?> providerClass)
           
 C register(Class<?> providerClass, Class<?>... contracts)
           
 C register(Class<?> providerClass, int bindingPriority)
           
 C register(Class<?> providerClass, Map<Class<?>,Integer> contracts)
           
 C register(Object provider)
           
 C register(Object provider, Class<?>... contracts)
           
 C register(Object provider, int bindingPriority)
           
 C register(Object provider, Map<Class<?>,Integer> contracts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurableImpl

public ConfigurableImpl(C configurable,
                        javax.ws.rs.RuntimeType rt,
                        Class<?>[] supportedProviderClasses)

ConfigurableImpl

public ConfigurableImpl(C configurable,
                        Class<?>[] supportedProviderClasses,
                        javax.ws.rs.core.Configuration config)
Method Detail

getConfigurable

protected C getConfigurable()

getConfiguration

public javax.ws.rs.core.Configuration getConfiguration()
Specified by:
getConfiguration in interface javax.ws.rs.core.Configurable<C extends javax.ws.rs.core.Configurable<C>>

property

public C property(String name,
                  Object value)
Specified by:
property in interface javax.ws.rs.core.Configurable<C extends javax.ws.rs.core.Configurable<C>>

register

public C register(Object provider)
Specified by:
register in interface javax.ws.rs.core.Configurable<C extends javax.ws.rs.core.Configurable<C>>

register

public C register(Object provider,
                  int bindingPriority)
Specified by:
register in interface javax.ws.rs.core.Configurable<C extends javax.ws.rs.core.Configurable<C>>

register

public C register(Object provider,
                  Class<?>... contracts)
Specified by:
register in interface javax.ws.rs.core.Configurable<C extends javax.ws.rs.core.Configurable<C>>

register

public C register(Object provider,
                  Map<Class<?>,Integer> contracts)
Specified by:
register in interface javax.ws.rs.core.Configurable<C extends javax.ws.rs.core.Configurable<C>>

register

public C register(Class<?> providerClass)
Specified by:
register in interface javax.ws.rs.core.Configurable<C extends javax.ws.rs.core.Configurable<C>>

register

public C register(Class<?> providerClass,
                  int bindingPriority)
Specified by:
register in interface javax.ws.rs.core.Configurable<C extends javax.ws.rs.core.Configurable<C>>

register

public C register(Class<?> providerClass,
                  Class<?>... contracts)
Specified by:
register in interface javax.ws.rs.core.Configurable<C extends javax.ws.rs.core.Configurable<C>>

register

public C register(Class<?> providerClass,
                  Map<Class<?>,Integer> contracts)
Specified by:
register in interface javax.ws.rs.core.Configurable<C extends javax.ws.rs.core.Configurable<C>>

Apache CXF API

Apache CXF