Apache CXF API

org.apache.cxf.jaxrs
Class JAXRSServiceImpl

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.concurrent.ConcurrentHashMap<String,Object>
          extended by org.apache.cxf.interceptor.AbstractAttributedInterceptorProvider
              extended by org.apache.cxf.jaxrs.JAXRSServiceImpl
All Implemented Interfaces:
Serializable, ConcurrentMap<String,Object>, Map<String,Object>, Configurable, InterceptorProvider, Service

public class JAXRSServiceImpl
extends AbstractAttributedInterceptorProvider
implements Service, Configurable

The CXF Service implementation which is used to register the JAX-RS endpoint with the runtime.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
JAXRSServiceImpl(List<ClassResourceInfo> cri)
           
JAXRSServiceImpl(List<ClassResourceInfo> cri, boolean create)
           
JAXRSServiceImpl(List<ClassResourceInfo> cri, QName qname)
           
JAXRSServiceImpl(String address, QName qname)
           
 
Method Summary
 String getBeanName()
          Get the configurable object's Bean name
 List<ClassResourceInfo> getClassResourceInfos()
           
 DataBinding getDataBinding()
           
 EndpointInfo getEndpointInfo(QName endpoint)
           
 Map<QName,Endpoint> getEndpoints()
           
 Executor getExecutor()
           
 Invoker getInvoker()
           
 QName getName()
           
 List<ServiceInfo> getServiceInfos()
           
 void setCreateServiceModel(boolean create)
           
 void setDataBinding(DataBinding dataBinding)
           
 void setEndpoints(Map<QName,Endpoint> endpoints)
           
 void setExecutor(Executor executor)
           
 void setInvoker(Invoker invoker)
           
 void setProperties(Map<String,Object> properties)
           
 
Methods inherited from class org.apache.cxf.interceptor.AbstractAttributedInterceptorProvider
equals, getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors, hashCode, put, setInFaultInterceptors, setInInterceptors, setOutFaultInterceptors, setOutInterceptors
 
Methods inherited from class java.util.concurrent.ConcurrentHashMap
clear, contains, containsKey, containsValue, elements, entrySet, get, isEmpty, keys, keySet, putAll, putIfAbsent, remove, remove, replace, replace, size, values
 
Methods inherited from class java.util.AbstractMap
clone, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from interface org.apache.cxf.interceptor.InterceptorProvider
getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors
 

Constructor Detail

JAXRSServiceImpl

public JAXRSServiceImpl(String address,
                        QName qname)

JAXRSServiceImpl

public JAXRSServiceImpl(List<ClassResourceInfo> cri,
                        QName qname)

JAXRSServiceImpl

public JAXRSServiceImpl(List<ClassResourceInfo> cri)

JAXRSServiceImpl

public JAXRSServiceImpl(List<ClassResourceInfo> cri,
                        boolean create)
Method Detail

setCreateServiceModel

public void setCreateServiceModel(boolean create)

getBeanName

public String getBeanName()
Description copied from interface: Configurable
Get the configurable object's Bean name

Specified by:
getBeanName in interface Configurable
Returns:
the bean name

getName

public QName getName()
Specified by:
getName in interface Service

getClassResourceInfos

public List<ClassResourceInfo> getClassResourceInfos()

getServiceInfos

public List<ServiceInfo> getServiceInfos()
Specified by:
getServiceInfos in interface Service

getEndpointInfo

public EndpointInfo getEndpointInfo(QName endpoint)
Specified by:
getEndpointInfo in interface Service

getExecutor

public Executor getExecutor()
Specified by:
getExecutor in interface Service

setExecutor

public void setExecutor(Executor executor)
Specified by:
setExecutor in interface Service

getInvoker

public Invoker getInvoker()
Specified by:
getInvoker in interface Service

setInvoker

public void setInvoker(Invoker invoker)
Specified by:
setInvoker in interface Service

getDataBinding

public DataBinding getDataBinding()
Specified by:
getDataBinding in interface Service

setDataBinding

public void setDataBinding(DataBinding dataBinding)
Specified by:
setDataBinding in interface Service

getEndpoints

public Map<QName,Endpoint> getEndpoints()
Specified by:
getEndpoints in interface Service

setEndpoints

public void setEndpoints(Map<QName,Endpoint> endpoints)

setProperties

public void setProperties(Map<String,Object> properties)

Apache CXF API

Apache CXF