P - the type of service proxiespublic static interface SingletonBuilderAPI.SecondClause<P>
| Modifier and Type | Method and Description |
|---|---|
P |
build()
Returns a configured proxy.
|
SingletonBuilderAPI.SecondClause<P> |
with(Property<?> property)
Set a configuration property for the proxy.
|
<T> SingletonBuilderAPI.SecondClause<P> |
with(String name,
T value)
Set a configuration property for the proxy.
|
SingletonBuilderAPI.FinalClause<P> |
withTimeout(int timeoutDuration,
TimeUnit timeoutUnit)
Configures the timeout for the proxy.
|
SingletonBuilderAPI.FinalClause<P> withTimeout(int timeoutDuration, TimeUnit timeoutUnit)
timeoutDuration - the duration of the timeouttimeoutUnit - the time unit of the timeout<T> SingletonBuilderAPI.SecondClause<P> with(String name, T value)
T - the type of the property valuename - the name of the propertyvalue - the value of the propertySingletonBuilderAPI.SecondClause<P> with(Property<?> property)
name - the propertyP build()
Copyright © 2017. All Rights Reserved.