A - the type of service addressesS - the type of service stubsP - the type of service proxiespublic abstract class AbstractBuilder<A,S,P> extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
defaultTimeout
Default proxy timeout.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractBuilder(ProxyPlugin<A,S,P> plugin,
EndpointCache<A> cache,
Property<?>... properties)
Constructs an instance with a given
ProxyPlugin, and EndpointCache, and zero or more default Propertys. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addProperty(Property<?> property)
Adds a custom property.
|
P |
build() |
protected abstract String |
contextPath() |
protected abstract A |
convertAddress(W3CEndpointReference address)
Converts a
W3CEndpointReference in a service address. |
protected ProxyPlugin<A,S,P> |
plugin()
Returns the
ProxyPlugin. |
protected void |
setAddress(W3CEndpointReference address)
Sets the address.
|
protected void |
setQuery(Query<A> query)
Sets the query.
|
protected void |
setTimeout(int timeout)
Sets the timeout.
|
protected AbstractBuilder(ProxyPlugin<A,S,P> plugin, EndpointCache<A> cache, Property<?>... properties)
ProxyPlugin, and EndpointCache, and zero or more default Propertys.plugin - the plugincache - the cacheproperties - the propertiesprotected ProxyPlugin<A,S,P> plugin()
ProxyPlugin.protected void setTimeout(int timeout)
timeout - the timoutprotected void setAddress(W3CEndpointReference address)
address - the addressprotected void addProperty(Property<?> property)
property - the propertypublic P build()
protected abstract A convertAddress(W3CEndpointReference address)
W3CEndpointReference in a service address.address - the address as a W3CEndpointReferenceprotected abstract String contextPath()
Copyright © 2017. All Rights Reserved.