P - the type of service proxiespublic static interface SingletonBuilderAPI.Builder<A,P>
| Modifier and Type | Method and Description |
|---|---|
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.
|
SingletonBuilderAPI.SecondClause<P> matching(Query<A> query)
query - the querySingletonBuilderAPI.SecondClause<P> at(URL address) throws IllegalArgumentException
address - the address of the endpointIllegalArgumentException - if the address is invalidSingletonBuilderAPI.SecondClause<P> at(URI address) throws IllegalArgumentException
address - the address of the endpointIllegalArgumentException - if the address is invalidSingletonBuilderAPI.SecondClause<P> at(String host, int port) throws IllegalArgumentException
address - the address of the corresponding service endpointIllegalArgumentException - if the address is invalidCopyright © 2017. All Rights Reserved.