|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.interceptor.AbstractBasicInterceptorProvider
org.apache.cxf.endpoint.AbstractEndpointFactory
org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory
org.apache.cxf.frontend.ServerFactoryBean
org.apache.cxf.jaxws.JaxWsServerFactoryBean
public class JaxWsServerFactoryBean
Bean to help easily create Server endpoints for JAX-WS. Example:
JaxWsServerFactoryBean sf = JaxWsServerFactoryBean();
sf.setServiceClass(MyService.class);
sf.setAddress("http://acme.com/myService");
sf.create();
This will start a server for you and register it with the ServerManager.
| Field Summary | |
|---|---|
protected boolean |
doInit
|
protected List<javax.xml.ws.handler.Handler> |
handlers
|
| Fields inherited from class org.apache.cxf.endpoint.AbstractEndpointFactory |
|---|
address, bindingConfig, bindingFactory, bindingId, bus, conduitSelector, dataBinding, destinationFactory, endpointName, endpointReference, features, properties, publishedEndpointUrl, serviceName, transportId |
| Constructor Summary | |
|---|---|
JaxWsServerFactoryBean()
|
|
JaxWsServerFactoryBean(JaxWsServiceFactoryBean serviceFactory)
|
|
| Method Summary | |
|---|---|
void |
addHandlers(List<javax.xml.ws.handler.Handler> h)
|
org.apache.cxf.endpoint.Server |
create()
|
protected org.apache.cxf.service.model.BindingInfo |
createBindingInfo()
|
protected org.apache.cxf.service.invoker.Invoker |
createInvoker()
|
List<javax.xml.ws.handler.Handler> |
getHandlers()
|
protected void |
initializeAnnotationInterceptors(org.apache.cxf.endpoint.Endpoint ep,
Class<?> cls)
Add annotated Interceptors and Features to the Endpoint |
protected void |
injectResources(Object instance)
|
void |
setHandlers(List<javax.xml.ws.handler.Handler> h)
|
| Methods inherited from class org.apache.cxf.frontend.ServerFactoryBean |
|---|
applyFeatures, getBeanName, getInvoker, getSchemaLocations, getServer, getServiceBean, getServiceBeanClass, getWsdlLocation, initializeServiceFactory, isStart, setInvoker, setSchemaLocations, setServer, setServiceBean, setStart, setWsdlLocation |
| Methods inherited from class org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory |
|---|
createEndpoint, createEndpointInfo, createSoapBindingConfig, getServiceClass, getServiceFactory, getWsdlURL, initializeAnnotationInterceptors, setServiceClass, setServiceFactory, setWsdlURL |
| Methods inherited from class org.apache.cxf.endpoint.AbstractEndpointFactory |
|---|
checkPrivateEndpoint, getAddress, getBindingConfig, getBindingFactory, getBindingId, getBus, getConduitSelector, getDataBinding, getDestinationFactory, getEndpointName, getFeatures, getProperties, getPublishedEndpointUrl, getServiceName, getTransportId, setAddress, setBindingConfig, setBindingFactory, setBindingId, setBus, setConduitSelector, setDataBinding, setDestinationFactory, setEndpointName, setEndpointReference, setFeatures, setProperties, setPublishedEndpointUrl, setServiceName, setTransportId |
| Methods inherited from class org.apache.cxf.interceptor.AbstractBasicInterceptorProvider |
|---|
getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors, setInFaultInterceptors, setInInterceptors, setOutFaultInterceptors, setOutInterceptors |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean doInit
protected List<javax.xml.ws.handler.Handler> handlers
| Constructor Detail |
|---|
public JaxWsServerFactoryBean()
public JaxWsServerFactoryBean(JaxWsServiceFactoryBean serviceFactory)
| Method Detail |
|---|
public void setHandlers(List<javax.xml.ws.handler.Handler> h)
public void addHandlers(List<javax.xml.ws.handler.Handler> h)
public List<javax.xml.ws.handler.Handler> getHandlers()
protected void initializeAnnotationInterceptors(org.apache.cxf.endpoint.Endpoint ep,
Class<?> cls)
initializeAnnotationInterceptors in class org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactoryep - protected org.apache.cxf.service.invoker.Invoker createInvoker()
createInvoker in class org.apache.cxf.frontend.ServerFactoryBeanprotected org.apache.cxf.service.model.BindingInfo createBindingInfo()
createBindingInfo in class org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactorypublic org.apache.cxf.endpoint.Server create()
create in class org.apache.cxf.frontend.ServerFactoryBeanprotected void injectResources(Object instance)
instance -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||