|
||||||||||
| 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.Builder<A,P>
The first clause of the DSL.
| Method Summary | |
|---|---|
SingletonBuilderAPI.SecondClause<P> |
at(String host,
int port)
Configures the address of a given service instance. |
SingletonBuilderAPI.SecondClause<P> |
at(URI address)
Configures the address of a given service endpoint. |
SingletonBuilderAPI.SecondClause<P> |
at(URL address)
Configures the address of a given service endpoint. |
SingletonBuilderAPI.SecondClause<P> |
matching(Query<A> query)
Configures a query for service instances. |
| Method Detail |
|---|
SingletonBuilderAPI.SecondClause<P> matching(Query<A> query)
query - the query
SingletonBuilderAPI.SecondClause<P> at(URL address)
throws IllegalArgumentException
address - the address of the endpoint
IllegalArgumentException - if the address is invalid
SingletonBuilderAPI.SecondClause<P> at(URI address)
throws IllegalArgumentException
address - the address of the endpoint
IllegalArgumentException - if the address is invalid
SingletonBuilderAPI.SecondClause<P> at(String host,
int port)
throws IllegalArgumentException
address - the address of the corresponding service endpoint
IllegalArgumentException - if the address is invalid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||