Search in sources :

Example 6 with PortInfoImpl

use of org.apache.cxf.jaxws.handler.PortInfoImpl in project tomee by apache.

the class CxfEndpoint method initHandlers.

/**
 * Set appropriate handlers for the port/service/bindings.
 */
protected void initHandlers() throws Exception {
    PortInfoImpl portInfo = new PortInfoImpl(implInfo.getBindingType(), serviceFactory.getEndpointName(), service.getName());
    handlerResolver = new HandlerResolverImpl(port.getHandlerChains(), port.getInjections(), context);
    List<Handler> chain = handlerResolver.getHandlerChain(portInfo);
    getBinding().setHandlerChain(chain);
}
Also used : HandlerResolverImpl(org.apache.openejb.core.webservices.HandlerResolverImpl) Handler(javax.xml.ws.handler.Handler) PortInfoImpl(org.apache.cxf.jaxws.handler.PortInfoImpl)

Aggregations

PortInfoImpl (org.apache.cxf.jaxws.handler.PortInfoImpl)6 Handler (javax.xml.ws.handler.Handler)3 WebService (javax.jws.WebService)2 QName (javax.xml.namespace.QName)2 WebServiceException (javax.xml.ws.WebServiceException)2 WebServiceFeature (javax.xml.ws.WebServiceFeature)2 Client (org.apache.cxf.endpoint.Client)2 JaxWsEndpointImpl (org.apache.cxf.jaxws.support.JaxWsEndpointImpl)2 Service (org.apache.cxf.service.Service)2 EndpointInfo (org.apache.cxf.service.model.EndpointInfo)2 Field (java.lang.reflect.Field)1 URL (java.net.URL)1 Map (java.util.Map)1 Bus (org.apache.cxf.Bus)1 BusException (org.apache.cxf.BusException)1 Message (org.apache.cxf.common.i18n.Message)1 DataBinding (org.apache.cxf.databinding.DataBinding)1 SourceDataBinding (org.apache.cxf.databinding.source.SourceDataBinding)1 ClientImpl (org.apache.cxf.endpoint.ClientImpl)1 EndpointException (org.apache.cxf.endpoint.EndpointException)1