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
FieldsModifier and TypeFieldDescriptionprotected Stringprotected BindingConfigurationprotected BindingFactoryprotected Stringprotected Busprotected ConduitSelectorprotected DataBindingprotected DestinationFactoryprotected QNameprotected org.apache.cxf.ws.addressing.EndpointReferenceTypeprotected Stringprotected QNameprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidaddToBeans(Collection<Object> beans, Object o) protected booleanChecks if a given endpoint has been marked as private.protected abstract BindingInfoprotected abstract EndpointgetBus()getBus(boolean createIfNeeded) getProperties(boolean create) protected voidinitializeAnnotationInterceptors(Endpoint ep, Class<?> cls) Add annotated Interceptors and Features to the Endpointprotected voidinitializeAnnotationInterceptors(Endpoint ep, Class<?>... cls) Add annotationed Interceptors and Features to the Endpointprotected booleaninitializeAnnotationInterceptors(AnnotationInterceptors provider, Endpoint ep) voidsetAddress(String address) voidvoidvoidsetBindingId(String bind) voidvoidsetConduitSelector(ConduitSelector selector) voidsetDataBinding(DataBinding dataBinding) voidsetDestinationFactory(DestinationFactory destinationFactory) voidsetEndpointName(QName endpointName) voidsetEndpointReference(org.apache.cxf.ws.addressing.EndpointReferenceType epr) voidsetFeatures(List<? extends Feature> features2) voidsetProperties(Map<String, Object> properties) voidsetPublishedEndpointUrl(String publishedEndpointUrl) voidsetServiceName(QName name) voidsetTransportId(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:
BusExceptionEndpointException
-
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
-