org.apache.cxf.jaxrs
Class JAXRSServiceFactoryBean
java.lang.Object
org.apache.cxf.service.factory.AbstractServiceFactoryBean
org.apache.cxf.jaxrs.JAXRSServiceFactoryBean
public class JAXRSServiceFactoryBean
- extends AbstractServiceFactoryBean
Builds a JAX-RS service model from resource classes.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
classResourceInfos
protected List<ClassResourceInfo> classResourceInfos
JAXRSServiceFactoryBean
public JAXRSServiceFactoryBean()
getBus
public Bus getBus()
- Overrides:
getBus
in class AbstractServiceFactoryBean
setBus
public void setBus(Bus bus)
- Overrides:
setBus
in class AbstractServiceFactoryBean
setServiceName
public void setServiceName(QName name)
getServiceName
public QName getServiceName()
setEnableStaticResolution
public void setEnableStaticResolution(boolean staticResolution)
create
public Service create()
- Specified by:
create
in class AbstractServiceFactoryBean
getExecutor
public Executor getExecutor()
setExecutor
public void setExecutor(Executor executor)
getInvoker
public Invoker getInvoker()
setInvoker
public void setInvoker(Invoker invoker)
getResourceClasses
public List<Class<?>> getResourceClasses()
getClassResourceInfo
public List<ClassResourceInfo> getClassResourceInfo()
setResourceClass
public void setResourceClass(Class<?> cls)
setResourceClasses
public void setResourceClasses(List<Class<?>> classes)
setUserResources
public void setUserResources(List<UserResource> resources)
setUserResourcesWithServiceClass
public void setUserResourcesWithServiceClass(List<UserResource> resources,
Class<?>... sClasses)
createResourceInfo
protected ClassResourceInfo createResourceInfo(Class<?> cls,
boolean isRoot)
setResourceClasses
public void setResourceClasses(Class<?>... classes)
setResourceClassesFromBeans
public void setResourceClassesFromBeans(List<Object> beans)
initializeServiceModel
protected void initializeServiceModel()
createInvoker
protected Invoker createInvoker()
setService
public void setService(Service service)
- Overrides:
setService
in class AbstractServiceFactoryBean
Apache CXF