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>,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.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()Get the configurable object's Bean nameList<ClassResourceInfo>getClassResourceInfos()DataBindinggetDataBinding()EndpointInfogetEndpointInfo(QName endpoint)Map<QName,Endpoint>getEndpoints()ExecutorgetExecutor()InvokergetInvoker()QNamegetName()List<ServiceInfo>getServiceInfos()voidsetCreateServiceModel(boolean create)voidsetDataBinding(DataBinding dataBinding)voidsetEndpoints(Map<QName,Endpoint> endpoints)voidsetExecutor(Executor executor)voidsetInvoker(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
-
Methods inherited from interface org.apache.cxf.interceptor.InterceptorProvider
getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors
-
-
-
-
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()
Description copied from interface:ConfigurableGet the configurable object's Bean name- Specified by:
getBeanNamein interfaceConfigurable- Returns:
- the bean name
-
getClassResourceInfos
public List<ClassResourceInfo> getClassResourceInfos()
-
getServiceInfos
public List<ServiceInfo> getServiceInfos()
- Specified by:
getServiceInfosin interfaceService
-
getEndpointInfo
public EndpointInfo getEndpointInfo(QName endpoint)
- Specified by:
getEndpointInfoin interfaceService
-
getExecutor
public Executor getExecutor()
- Specified by:
getExecutorin interfaceService
-
setExecutor
public void setExecutor(Executor executor)
- Specified by:
setExecutorin interfaceService
-
getInvoker
public Invoker getInvoker()
- Specified by:
getInvokerin interfaceService
-
setInvoker
public void setInvoker(Invoker invoker)
- Specified by:
setInvokerin interfaceService
-
getDataBinding
public DataBinding getDataBinding()
- Specified by:
getDataBindingin interfaceService
-
setDataBinding
public void setDataBinding(DataBinding dataBinding)
- Specified by:
setDataBindingin interfaceService
-
getEndpoints
public Map<QName,Endpoint> getEndpoints()
- Specified by:
getEndpointsin interfaceService
-
-