Package org.apache.cxf.endpoint
Class AbstractEndpointFactory
java.lang.Object
org.apache.cxf.interceptor.AbstractBasicInterceptorProvider
org.apache.cxf.endpoint.AbstractEndpointFactory
- All Implemented Interfaces:
InterceptorProvider
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected BindingConfiguration
protected BindingFactory
protected String
protected Bus
protected ConduitSelector
protected DataBinding
protected DestinationFactory
protected QName
protected org.apache.cxf.ws.addressing.EndpointReferenceType
protected String
protected QName
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static void
addToBeans
(Collection<Object> beans, Object o) protected boolean
Checks if a given endpoint has been marked as private.protected abstract BindingInfo
protected abstract Endpoint
getBus()
getBus
(boolean createIfNeeded) getProperties
(boolean create) protected void
initializeAnnotationInterceptors
(Endpoint ep, Class<?> cls) Add annotated Interceptors and Features to the Endpointprotected void
initializeAnnotationInterceptors
(Endpoint ep, Class<?>... cls) Add annotationed Interceptors and Features to the Endpointprotected boolean
initializeAnnotationInterceptors
(AnnotationInterceptors provider, Endpoint ep) void
setAddress
(String address) void
void
void
setBindingId
(String bind) void
void
setConduitSelector
(ConduitSelector selector) void
setDataBinding
(DataBinding dataBinding) void
setDestinationFactory
(DestinationFactory destinationFactory) void
setEndpointName
(QName endpointName) void
setEndpointReference
(org.apache.cxf.ws.addressing.EndpointReferenceType epr) void
setFeatures
(List<? extends Feature> features2) void
setProperties
(Map<String, Object> properties) void
setPublishedEndpointUrl
(String publishedEndpointUrl) void
setServiceName
(QName name) void
setTransportId
(String transportId) Methods inherited from class org.apache.cxf.interceptor.AbstractBasicInterceptorProvider
getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors, setInFaultInterceptors, setInInterceptors, setOutFaultInterceptors, setOutInterceptors
-
Field Details
-
bus
-
address
-
transportId
-
bindingId
-
dataBinding
-
bindingFactory
-
destinationFactory
-
publishedEndpointUrl
-
endpointName
-
serviceName
-
properties
-
features
-
bindingConfig
-
endpointReference
protected org.apache.cxf.ws.addressing.EndpointReferenceType endpointReference -
conduitSelector
-
-
Constructor Details
-
AbstractEndpointFactory
public AbstractEndpointFactory()
-
-
Method Details
-
createEndpoint
- Throws:
BusException
EndpointException
-
createBindingInfo
-
getAddress
-
setAddress
-
getBus
-
getBus
-
setBus
-
getTransportId
-
setTransportId
-
setBindingId
-
getBindingId
-
setBindingConfig
-
getBindingConfig
-
getDestinationFactory
-
setDestinationFactory
-
getPublishedEndpointUrl
-
setPublishedEndpointUrl
-
getEndpointName
-
setEndpointName
-
setServiceName
-
getServiceName
-
setEndpointReference
public void setEndpointReference(org.apache.cxf.ws.addressing.EndpointReferenceType epr) -
getProperties
-
getProperties
-
setProperties
-
getFeatures
-
setFeatures
-
getBindingFactory
-
setBindingFactory
-
getConduitSelector
-
setConduitSelector
-
getDataBinding
-
setDataBinding
-
checkPrivateEndpoint
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
Add annotated Interceptors and Features to the Endpoint- Parameters:
ep
-
-
initializeAnnotationInterceptors
Add annotationed Interceptors and Features to the Endpoint- Parameters:
ep
-
-
addToBeans
-
initializeAnnotationInterceptors
-