org.apache.openejb.server.cxf
Class CxfEndpoint

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

public abstract class CxfEndpoint
extends Object


Field Summary
protected  org.apache.cxf.Bus bus
           
protected  Context context
           
static String CXF_JAXWS_PREFIX
           
protected  org.apache.openejb.core.webservices.HandlerResolverImpl handlerResolver
           
protected  org.apache.cxf.transport.http.HTTPTransportFactory httpTransportFactory
           
protected  Object implementor
           
protected  org.apache.cxf.jaxws.support.JaxWsImplementorInfo implInfo
           
protected  org.apache.openejb.core.webservices.PortData port
           
protected  org.apache.cxf.endpoint.Server server
           
protected  org.apache.cxf.service.Service service
           
protected  org.apache.openejb.assembler.classic.util.ServiceConfiguration serviceConfiguration
           
protected  org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean serviceFactory
           
 
Constructor Summary
CxfEndpoint(org.apache.cxf.Bus bus, org.apache.openejb.core.webservices.PortData port, Context context, Object implementor, org.apache.cxf.transport.http.HTTPTransportFactory httpTransportFactory, org.apache.openejb.assembler.classic.util.ServiceConfiguration configuration)
           
 
Method Summary
protected  void destroyHandlers()
           
protected  void doPublish(String address)
           
 Binding getBinding()
           
protected  org.apache.cxf.endpoint.Endpoint getEndpoint()
           
 Executor getExecutor()
           
 Object getImplementor()
           
protected  Class getImplementorClass()
           
 List<Source> getMetadata()
           
 Map<String,Object> getProperties()
           
 org.apache.cxf.endpoint.ServerImpl getServer()
           
protected  void init()
           
protected  void initHandlers()
          Set appropriate handlers for the port/service/bindings.
 boolean isHTTP()
           
 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CXF_JAXWS_PREFIX

public static final String CXF_JAXWS_PREFIX
See Also:
Constant Field Values

bus

protected org.apache.cxf.Bus bus

port

protected org.apache.openejb.core.webservices.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 org.apache.openejb.core.webservices.HandlerResolverImpl handlerResolver

httpTransportFactory

protected org.apache.cxf.transport.http.HTTPTransportFactory httpTransportFactory

serviceConfiguration

protected org.apache.openejb.assembler.classic.util.ServiceConfiguration serviceConfiguration
Constructor Detail

CxfEndpoint

public CxfEndpoint(org.apache.cxf.Bus bus,
                   org.apache.openejb.core.webservices.PortData port,
                   Context context,
                   Object implementor,
                   org.apache.cxf.transport.http.HTTPTransportFactory httpTransportFactory,
                   org.apache.openejb.assembler.classic.util.ServiceConfiguration configuration)
Method Detail

getImplementorClass

protected Class getImplementorClass()

getEndpoint

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

isSOAP11

public boolean isSOAP11()

isHTTP

public boolean isHTTP()

getServer

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

getBinding

public Binding getBinding()

setExecutor

public void setExecutor(Executor executor)

getExecutor

public Executor getExecutor()

getImplementor

public Object getImplementor()

getMetadata

public List<Source> getMetadata()

getProperties

public Map<String,Object> getProperties()

isPublished

public boolean isPublished()

publish

public void publish(Object arg0)

publish

public void publish(String address)

setMetadata

public void setMetadata(List<Source> arg0)

setProperties

public void setProperties(Map<String,Object> arg0)

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()


Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.