Package org.apache.cxf.jaxrs
Class JAXRSServiceImpl
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.concurrent.ConcurrentHashMap<String,Object>
-
- org.apache.cxf.interceptor.AbstractAttributedInterceptorProvider
-
- org.apache.cxf.jaxrs.JAXRSServiceImpl
-
- All Implemented Interfaces:
Serializable
,ConcurrentMap<String,Object>
,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 class java.util.concurrent.ConcurrentHashMap
ConcurrentHashMap.KeySetView<K extends Object,V extends Object>
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description JAXRSServiceImpl(String address, QName qname)
JAXRSServiceImpl(List<ClassResourceInfo> cri)
JAXRSServiceImpl(List<ClassResourceInfo> cri, boolean create)
JAXRSServiceImpl(List<ClassResourceInfo> cri, QName qname)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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, put, setInFaultInterceptors, setInInterceptors, setOutFaultInterceptors, setOutInterceptors
-
Methods inherited from class java.util.concurrent.ConcurrentHashMap
clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, get, getOrDefault, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, putAll, putIfAbsent, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, toString, values
-
Methods inherited from class java.util.AbstractMap
clone
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Constructor Detail
-
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 interfaceorg.apache.cxf.configuration.Configurable
-
getName
public QName getName()
- Specified by:
getName
in interfaceorg.apache.cxf.service.Service
-
getClassResourceInfos
public List<ClassResourceInfo> getClassResourceInfos()
-
getServiceInfos
public List<org.apache.cxf.service.model.ServiceInfo> getServiceInfos()
- Specified by:
getServiceInfos
in interfaceorg.apache.cxf.service.Service
-
getEndpointInfo
public org.apache.cxf.service.model.EndpointInfo getEndpointInfo(QName endpoint)
- Specified by:
getEndpointInfo
in interfaceorg.apache.cxf.service.Service
-
getExecutor
public Executor getExecutor()
- Specified by:
getExecutor
in interfaceorg.apache.cxf.service.Service
-
setExecutor
public void setExecutor(Executor executor)
- Specified by:
setExecutor
in interfaceorg.apache.cxf.service.Service
-
getInvoker
public org.apache.cxf.service.invoker.Invoker getInvoker()
- Specified by:
getInvoker
in interfaceorg.apache.cxf.service.Service
-
setInvoker
public void setInvoker(org.apache.cxf.service.invoker.Invoker invoker)
- Specified by:
setInvoker
in interfaceorg.apache.cxf.service.Service
-
getDataBinding
public org.apache.cxf.databinding.DataBinding getDataBinding()
- Specified by:
getDataBinding
in interfaceorg.apache.cxf.service.Service
-
setDataBinding
public void setDataBinding(org.apache.cxf.databinding.DataBinding dataBinding)
- Specified by:
setDataBinding
in interfaceorg.apache.cxf.service.Service
-
getEndpoints
public Map<QName,org.apache.cxf.endpoint.Endpoint> getEndpoints()
- Specified by:
getEndpoints
in interfaceorg.apache.cxf.service.Service
-
-