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.ConfigurableThe 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 StringgetBeanName()List<ClassResourceInfo>getClassResourceInfos()org.apache.cxf.databinding.DataBindinggetDataBinding()org.apache.cxf.service.model.EndpointInfogetEndpointInfo(QName endpoint)Map<QName,org.apache.cxf.endpoint.Endpoint>getEndpoints()ExecutorgetExecutor()org.apache.cxf.service.invoker.InvokergetInvoker()QNamegetName()List<org.apache.cxf.service.model.ServiceInfo>getServiceInfos()voidsetCreateServiceModel(boolean create)voidsetDataBinding(org.apache.cxf.databinding.DataBinding dataBinding)voidsetEndpoints(Map<QName,org.apache.cxf.endpoint.Endpoint> endpoints)voidsetExecutor(Executor executor)voidsetInvoker(org.apache.cxf.service.invoker.Invoker invoker)voidsetProperties(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:
getBeanNamein interfaceorg.apache.cxf.configuration.Configurable
-
getName
public QName getName()
- Specified by:
getNamein interfaceorg.apache.cxf.service.Service
-
getClassResourceInfos
public List<ClassResourceInfo> getClassResourceInfos()
-
getServiceInfos
public List<org.apache.cxf.service.model.ServiceInfo> getServiceInfos()
- Specified by:
getServiceInfosin interfaceorg.apache.cxf.service.Service
-
getEndpointInfo
public org.apache.cxf.service.model.EndpointInfo getEndpointInfo(QName endpoint)
- Specified by:
getEndpointInfoin interfaceorg.apache.cxf.service.Service
-
getExecutor
public Executor getExecutor()
- Specified by:
getExecutorin interfaceorg.apache.cxf.service.Service
-
setExecutor
public void setExecutor(Executor executor)
- Specified by:
setExecutorin interfaceorg.apache.cxf.service.Service
-
getInvoker
public org.apache.cxf.service.invoker.Invoker getInvoker()
- Specified by:
getInvokerin interfaceorg.apache.cxf.service.Service
-
setInvoker
public void setInvoker(org.apache.cxf.service.invoker.Invoker invoker)
- Specified by:
setInvokerin interfaceorg.apache.cxf.service.Service
-
getDataBinding
public org.apache.cxf.databinding.DataBinding getDataBinding()
- Specified by:
getDataBindingin interfaceorg.apache.cxf.service.Service
-
setDataBinding
public void setDataBinding(org.apache.cxf.databinding.DataBinding dataBinding)
- Specified by:
setDataBindingin interfaceorg.apache.cxf.service.Service
-
getEndpoints
public Map<QName,org.apache.cxf.endpoint.Endpoint> getEndpoints()
- Specified by:
getEndpointsin interfaceorg.apache.cxf.service.Service
-
-