org.apache.openejb.server.cxf
Class CxfEndpoint

java.lang.Object
  extended by javax.xml.ws.Endpoint
      extended by org.apache.openejb.server.cxf.CxfEndpoint
Direct Known Subclasses:
EjbEndpoint, PojoEndpoint

public abstract class CxfEndpoint
extends javax.xml.ws.Endpoint


Field Summary
protected  org.apache.cxf.Bus bus
           
protected  Context context
           
protected  HandlerResolverImpl handlerResolver
           
protected  Object implementor
           
protected  org.apache.cxf.jaxws.support.JaxWsImplementorInfo implInfo
           
protected  PortData port
           
protected  org.apache.cxf.endpoint.Server server
           
protected  org.apache.cxf.service.Service service
           
protected  org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean serviceFactory
           
 
Fields inherited from class javax.xml.ws.Endpoint
WSDL_PORT, WSDL_SERVICE
 
Constructor Summary
CxfEndpoint(org.apache.cxf.Bus bus, PortData port, Context context, Object implementor)
           
 
Method Summary
protected  void destroyHandlers()
           
protected  void doPublish(String address)
           
 javax.xml.ws.Binding getBinding()
           
protected  org.apache.cxf.endpoint.Endpoint getEndpoint()
           
<T extends EndpointReference>
T
getEndpointReference(Class<T> clazz, Element... referenceParameters)
           
 EndpointReference getEndpointReference(Element... referenceParameters)
           
 Executor getExecutor()
           
 Object getImplementor()
           
protected  Class getImplementorClass()
           
 List<Source> getMetadata()
           
 Map<String,Object> getProperties()
           
 org.apache.cxf.endpoint.ServerImpl getServer()
           
protected  URL getWsdlURL(URL configurationBaseUrl, String wsdlFile)
           
protected  void init()
           
protected  void initHandlers()
          Set appropriate handlers for the port/service/bindings.
 boolean isPublished()
           
 boolean isSOAP11()
           
 void publish(Object arg0)
           
 void publish(String address)
           
 void setExecutor(Executor executor)
           
 void setMetadata(List<Source> arg0)
           
 void setProperties(Map<String,Object> arg0)
           
 void stop()
           
 
Methods inherited from class javax.xml.ws.Endpoint
create, create, publish
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bus

protected org.apache.cxf.Bus bus

port

protected PortData port

context

protected Context context

implementor

protected Object implementor

server

protected org.apache.cxf.endpoint.Server server

service

protected org.apache.cxf.service.Service service

implInfo

protected org.apache.cxf.jaxws.support.JaxWsImplementorInfo implInfo

serviceFactory

protected org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean serviceFactory

handlerResolver

protected HandlerResolverImpl handlerResolver
Constructor Detail

CxfEndpoint

public CxfEndpoint(org.apache.cxf.Bus bus,
                   PortData port,
                   Context context,
                   Object implementor)
Method Detail

getWsdlURL

protected URL getWsdlURL(URL configurationBaseUrl,
                         String wsdlFile)

getImplementorClass

protected Class getImplementorClass()

getEndpoint

protected org.apache.cxf.endpoint.Endpoint getEndpoint()

isSOAP11

public boolean isSOAP11()

getServer

public org.apache.cxf.endpoint.ServerImpl getServer()

getBinding

public javax.xml.ws.Binding getBinding()
Specified by:
getBinding in class javax.xml.ws.Endpoint

setExecutor

public void setExecutor(Executor executor)
Specified by:
setExecutor in class javax.xml.ws.Endpoint

getExecutor

public Executor getExecutor()
Specified by:
getExecutor in class javax.xml.ws.Endpoint

getImplementor

public Object getImplementor()
Specified by:
getImplementor in class javax.xml.ws.Endpoint

getMetadata

public List<Source> getMetadata()
Specified by:
getMetadata in class javax.xml.ws.Endpoint

getProperties

public Map<String,Object> getProperties()
Specified by:
getProperties in class javax.xml.ws.Endpoint

isPublished

public boolean isPublished()
Specified by:
isPublished in class javax.xml.ws.Endpoint

publish

public void publish(Object arg0)
Specified by:
publish in class javax.xml.ws.Endpoint

publish

public void publish(String address)
Specified by:
publish in class javax.xml.ws.Endpoint

setMetadata

public void setMetadata(List<Source> arg0)
Specified by:
setMetadata in class javax.xml.ws.Endpoint

setProperties

public void setProperties(Map<String,Object> arg0)
Specified by:
setProperties in class javax.xml.ws.Endpoint

getEndpointReference

public EndpointReference getEndpointReference(Element... referenceParameters)
Specified by:
getEndpointReference in class javax.xml.ws.Endpoint

getEndpointReference

public <T extends EndpointReference> T getEndpointReference(Class<T> clazz,
                                                            Element... referenceParameters)
Specified by:
getEndpointReference in class javax.xml.ws.Endpoint

doPublish

protected void doPublish(String address)

init

protected void init()

initHandlers

protected void initHandlers()
                     throws Exception
Set appropriate handlers for the port/service/bindings.

Throws:
Exception

destroyHandlers

protected void destroyHandlers()

stop

public void stop()
Specified by:
stop in class javax.xml.ws.Endpoint


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.