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 SummaryFields Modifier and Type Field Description protected Stringaddressprotected BindingConfigurationbindingConfigprotected BindingFactorybindingFactoryprotected StringbindingIdprotected Busbusprotected ConduitSelectorconduitSelectorprotected DataBindingdataBindingprotected DestinationFactorydestinationFactoryprotected QNameendpointNameprotected org.apache.cxf.ws.addressing.EndpointReferenceTypeendpointReferenceprotected List<Feature>featuresprotected Map<String,Object>propertiesprotected StringpublishedEndpointUrlprotected QNameserviceNameprotected StringtransportId
 - 
Constructor SummaryConstructors Constructor Description AbstractEndpointFactory()
 - 
Method Summary- 
Methods inherited from class org.apache.cxf.interceptor.AbstractBasicInterceptorProvidergetInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors, setInFaultInterceptors, setInInterceptors, setOutFaultInterceptors, setOutInterceptors
 
- 
 
- 
- 
- 
Field Detail- 
busprotected Bus bus 
 - 
addressprotected String address 
 - 
transportIdprotected String transportId 
 - 
bindingIdprotected String bindingId 
 - 
dataBindingprotected DataBinding dataBinding 
 - 
bindingFactoryprotected BindingFactory bindingFactory 
 - 
destinationFactoryprotected DestinationFactory destinationFactory 
 - 
publishedEndpointUrlprotected String publishedEndpointUrl 
 - 
endpointNameprotected QName endpointName 
 - 
serviceNameprotected QName serviceName 
 - 
bindingConfigprotected BindingConfiguration bindingConfig 
 - 
endpointReferenceprotected org.apache.cxf.ws.addressing.EndpointReferenceType endpointReference 
 - 
conduitSelectorprotected ConduitSelector conduitSelector 
 
- 
 - 
Method Detail- 
createEndpointprotected abstract Endpoint createEndpoint() throws BusException, EndpointException - Throws:
- BusException
- EndpointException
 
 - 
createBindingInfoprotected abstract BindingInfo createBindingInfo() 
 - 
getAddresspublic String getAddress() 
 - 
setAddresspublic void setAddress(String address) 
 - 
getBuspublic Bus getBus() 
 - 
getBuspublic Bus getBus(boolean createIfNeeded) 
 - 
setBuspublic void setBus(Bus bus) 
 - 
getTransportIdpublic String getTransportId() 
 - 
setTransportIdpublic void setTransportId(String transportId) 
 - 
setBindingIdpublic void setBindingId(String bind) 
 - 
getBindingIdpublic String getBindingId() 
 - 
setBindingConfigpublic void setBindingConfig(BindingConfiguration obj) 
 - 
getBindingConfigpublic BindingConfiguration getBindingConfig() 
 - 
getDestinationFactorypublic DestinationFactory getDestinationFactory() 
 - 
setDestinationFactorypublic void setDestinationFactory(DestinationFactory destinationFactory) 
 - 
getPublishedEndpointUrlpublic String getPublishedEndpointUrl() 
 - 
setPublishedEndpointUrlpublic void setPublishedEndpointUrl(String publishedEndpointUrl) 
 - 
getEndpointNamepublic QName getEndpointName() 
 - 
setEndpointNamepublic void setEndpointName(QName endpointName) 
 - 
setServiceNamepublic void setServiceName(QName name) 
 - 
getServiceNamepublic QName getServiceName() 
 - 
setEndpointReferencepublic void setEndpointReference(org.apache.cxf.ws.addressing.EndpointReferenceType epr) 
 - 
getBindingFactorypublic BindingFactory getBindingFactory() 
 - 
setBindingFactorypublic void setBindingFactory(BindingFactory bf) 
 - 
getConduitSelectorpublic ConduitSelector getConduitSelector() 
 - 
setConduitSelectorpublic void setConduitSelector(ConduitSelector selector) 
 - 
getDataBindingpublic DataBinding getDataBinding() 
 - 
setDataBindingpublic void setDataBinding(DataBinding dataBinding) 
 - 
checkPrivateEndpointprotected 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
 
 - 
initializeAnnotationInterceptorsprotected void initializeAnnotationInterceptors(Endpoint ep, Class<?> cls) Add annotated Interceptors and Features to the Endpoint- Parameters:
- ep-
 
 - 
initializeAnnotationInterceptorsprotected void initializeAnnotationInterceptors(Endpoint ep, Class<?>... cls) Add annotationed Interceptors and Features to the Endpoint- Parameters:
- ep-
 
 - 
addToBeansprotected static void addToBeans(Collection<Object> beans, Object o) 
 - 
initializeAnnotationInterceptorsprotected boolean initializeAnnotationInterceptors(AnnotationInterceptors provider, Endpoint ep) 
 
- 
 
-