Package org.apache.cxf.endpoint
Class AbstractEndpointFactory
- java.lang.Object
-
- org.apache.cxf.interceptor.AbstractBasicInterceptorProvider
-
- org.apache.cxf.endpoint.AbstractEndpointFactory
-
- All Implemented Interfaces:
InterceptorProvider
public abstract class AbstractEndpointFactory extends AbstractBasicInterceptorProvider
-
-
Field Summary
Fields Modifier and Type Field Description protected String
address
protected BindingConfiguration
bindingConfig
protected BindingFactory
bindingFactory
protected String
bindingId
protected Bus
bus
protected ConduitSelector
conduitSelector
protected DataBinding
dataBinding
protected DestinationFactory
destinationFactory
protected QName
endpointName
protected org.apache.cxf.ws.addressing.EndpointReferenceType
endpointReference
protected List<Feature>
features
protected Map<String,Object>
properties
protected String
publishedEndpointUrl
protected QName
serviceName
protected String
transportId
-
Constructor Summary
Constructors Constructor Description AbstractEndpointFactory()
-
Method Summary
-
Methods inherited from class org.apache.cxf.interceptor.AbstractBasicInterceptorProvider
getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors, setInFaultInterceptors, setInInterceptors, setOutFaultInterceptors, setOutInterceptors
-
-
-
-
Field Detail
-
bus
protected Bus bus
-
address
protected String address
-
transportId
protected String transportId
-
bindingId
protected String bindingId
-
dataBinding
protected DataBinding dataBinding
-
bindingFactory
protected BindingFactory bindingFactory
-
destinationFactory
protected DestinationFactory destinationFactory
-
publishedEndpointUrl
protected String publishedEndpointUrl
-
endpointName
protected QName endpointName
-
serviceName
protected QName serviceName
-
bindingConfig
protected BindingConfiguration bindingConfig
-
endpointReference
protected org.apache.cxf.ws.addressing.EndpointReferenceType endpointReference
-
conduitSelector
protected ConduitSelector conduitSelector
-
-
Method Detail
-
createEndpoint
protected abstract Endpoint createEndpoint() throws BusException, EndpointException
- Throws:
BusException
EndpointException
-
createBindingInfo
protected abstract BindingInfo createBindingInfo()
-
getAddress
public String getAddress()
-
setAddress
public void setAddress(String address)
-
getBus
public Bus getBus()
-
getBus
public Bus getBus(boolean createIfNeeded)
-
setBus
public void setBus(Bus bus)
-
getTransportId
public String getTransportId()
-
setTransportId
public void setTransportId(String transportId)
-
setBindingId
public void setBindingId(String bind)
-
getBindingId
public String getBindingId()
-
setBindingConfig
public void setBindingConfig(BindingConfiguration obj)
-
getBindingConfig
public BindingConfiguration getBindingConfig()
-
getDestinationFactory
public DestinationFactory getDestinationFactory()
-
setDestinationFactory
public void setDestinationFactory(DestinationFactory destinationFactory)
-
getPublishedEndpointUrl
public String getPublishedEndpointUrl()
-
setPublishedEndpointUrl
public void setPublishedEndpointUrl(String publishedEndpointUrl)
-
getEndpointName
public QName getEndpointName()
-
setEndpointName
public void setEndpointName(QName endpointName)
-
setServiceName
public void setServiceName(QName name)
-
getServiceName
public QName getServiceName()
-
setEndpointReference
public void setEndpointReference(org.apache.cxf.ws.addressing.EndpointReferenceType epr)
-
getBindingFactory
public BindingFactory getBindingFactory()
-
setBindingFactory
public void setBindingFactory(BindingFactory bf)
-
getConduitSelector
public ConduitSelector getConduitSelector()
-
setConduitSelector
public void setConduitSelector(ConduitSelector selector)
-
getDataBinding
public DataBinding getDataBinding()
-
setDataBinding
public void setDataBinding(DataBinding dataBinding)
-
checkPrivateEndpoint
protected boolean checkPrivateEndpoint(Endpoint ep)
Checks if a given endpoint has been marked as private. If yes then its address will be added to a bus list property Note that client factories might also check the endpoint, ex, if the endpoint if private then it is likely no service contract will be available if requested from the remote address hence it has to be availbale locally or generated from the local source- Parameters:
ep
- endpoint
-
initializeAnnotationInterceptors
protected void initializeAnnotationInterceptors(Endpoint ep, Class<?> cls)
Add annotated Interceptors and Features to the Endpoint- Parameters:
ep
-
-
initializeAnnotationInterceptors
protected void initializeAnnotationInterceptors(Endpoint ep, Class<?>... cls)
Add annotationed Interceptors and Features to the Endpoint- Parameters:
ep
-
-
addToBeans
protected static void addToBeans(Collection<Object> beans, Object o)
-
initializeAnnotationInterceptors
protected boolean initializeAnnotationInterceptors(AnnotationInterceptors provider, Endpoint ep)
-
-