org.apache.cxf.jaxrs
Class JAXRSServiceImpl

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

public class JAXRSServiceImpl
extends org.apache.cxf.interceptor.AbstractAttributedInterceptorProvider
implements org.apache.cxf.service.Service, org.apache.cxf.configuration.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 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()
           
 List<ClassResourceInfo> getClassResourceInfos()
           
 org.apache.cxf.databinding.DataBinding getDataBinding()
           
 org.apache.cxf.service.model.EndpointInfo getEndpointInfo(QName endpoint)
           
 Map<QName,org.apache.cxf.endpoint.Endpoint> getEndpoints()
           
 Executor getExecutor()
           
 org.apache.cxf.service.invoker.Invoker getInvoker()
           
 QName getName()
           
 List<org.apache.cxf.service.model.ServiceInfo> getServiceInfos()
           
 void setCreateServiceModel(boolean create)
           
 void setDataBinding(org.apache.cxf.databinding.DataBinding dataBinding)
           
 void setEndpoints(Map<QName,org.apache.cxf.endpoint.Endpoint> endpoints)
           
 void setExecutor(Executor executor)
           
 void setInvoker(org.apache.cxf.service.invoker.Invoker invoker)
           
 void setProperties(Map<String,Object> properties)
           
 
Methods inherited from class org.apache.cxf.interceptor.AbstractAttributedInterceptorProvider
equals, getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors, hashCode, setInFaultInterceptors, setInInterceptors, setOutFaultInterceptors, setOutInterceptors
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
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()
Specified by:
getBeanName in interface org.apache.cxf.configuration.Configurable

getName

public QName getName()
Specified by:
getName in interface org.apache.cxf.service.Service

getClassResourceInfos

public List<ClassResourceInfo> getClassResourceInfos()

getServiceInfos

public List<org.apache.cxf.service.model.ServiceInfo> getServiceInfos()
Specified by:
getServiceInfos in interface org.apache.cxf.service.Service

getEndpointInfo

public org.apache.cxf.service.model.EndpointInfo getEndpointInfo(QName endpoint)
Specified by:
getEndpointInfo in interface org.apache.cxf.service.Service

getExecutor

public Executor getExecutor()
Specified by:
getExecutor in interface org.apache.cxf.service.Service

setExecutor

public void setExecutor(Executor executor)
Specified by:
setExecutor in interface org.apache.cxf.service.Service

getInvoker

public org.apache.cxf.service.invoker.Invoker getInvoker()
Specified by:
getInvoker in interface org.apache.cxf.service.Service

setInvoker

public void setInvoker(org.apache.cxf.service.invoker.Invoker invoker)
Specified by:
setInvoker in interface org.apache.cxf.service.Service

getDataBinding

public org.apache.cxf.databinding.DataBinding getDataBinding()
Specified by:
getDataBinding in interface org.apache.cxf.service.Service

setDataBinding

public void setDataBinding(org.apache.cxf.databinding.DataBinding dataBinding)
Specified by:
setDataBinding in interface org.apache.cxf.service.Service

getEndpoints

public Map<QName,org.apache.cxf.endpoint.Endpoint> getEndpoints()
Specified by:
getEndpoints in interface org.apache.cxf.service.Service

setEndpoints

public void setEndpoints(Map<QName,org.apache.cxf.endpoint.Endpoint> endpoints)

setProperties

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


Apache CXF