|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
P - the type of service proxiespublic static interface SingletonBuilderAPI.SecondClause<P>
The second clause of the DSL.
| Method Summary | ||
|---|---|---|
P |
build()
Returns a configured proxy. |
|
SingletonBuilderAPI.SecondClause<P> |
with(Property<?> property)
Set a configuration property for the proxy. |
|
|
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. |
|
| Method Detail |
|---|
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 property
SingletonBuilderAPI.SecondClause<P> with(Property<?> property)
name - the property
P build()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||