T
- endpoint typepublic class StaticEndpointReferenceBuilder<T> extends Object implements EndpointReferenceBuilder<T>
Constructor and Description |
---|
StaticEndpointReferenceBuilder() |
Modifier and Type | Method and Description |
---|---|
String |
getAddress() |
String |
getAddress(T endpoint)
Sometimes we need only the address.
|
W3CEndpointReference |
getEndpointReference(T endpoint)
get an endpoint reference with default metadata attached.
|
W3CEndpointReference |
getEndpointReference(T endpoint,
Map<QName,Object> attrs)
get an endpoint reference with custom metadata attached.
|
W3CEndpointReference |
getEndpointReference(T endpoint,
String referenceParam)
get an endpoint reference with a WSA reference parameter.
|
W3CEndpointReference |
getEndpointReference(T endpoint,
String referenceParam,
Map<QName,Object> attrs)
get an endpoint reference with custom metadata attached and WSA reference parameter.
|
void |
setAddress(String address) |
public String getAddress(T endpoint)
EndpointReferenceBuilder
getAddress
in interface EndpointReferenceBuilder<T>
endpoint
- endpointpublic W3CEndpointReference getEndpointReference(T endpoint)
EndpointReferenceBuilder
getEndpointReference
in interface EndpointReferenceBuilder<T>
endpoint
- the endpointpublic W3CEndpointReference getEndpointReference(T endpoint, Map<QName,Object> attrs)
EndpointReferenceBuilder
getEndpointReference
in interface EndpointReferenceBuilder<T>
endpoint
- the endpointattrs
- metadata attribute mappublic W3CEndpointReference getEndpointReference(T endpoint, String referenceParam)
EndpointReferenceBuilder
getEndpointReference
in interface EndpointReferenceBuilder<T>
endpoint
- the endpointreferenceParam
- reference parameterspublic W3CEndpointReference getEndpointReference(T endpoint, String referenceParam, Map<QName,Object> attrs)
EndpointReferenceBuilder
getEndpointReference
in interface EndpointReferenceBuilder<T>
endpoint
- endpointreferenceParam
- reference parametersattrs
- metadata attribute mappublic String getAddress()
public void setAddress(String address)
Copyright © 2017. All rights reserved.