Interface SingletonBuilderAPI.Builder<A,P>
- Type Parameters:
A- the type of service addressesP- the type of service proxies
- All Known Implementing Classes:
AbstractSingletonBuilder
- Enclosing class:
- SingletonBuilderAPI
public static interface SingletonBuilderAPI.Builder<A,P>
The first clause of the DSL.
- Author:
- Fabio Simeoni
-
Method Summary
Modifier and TypeMethodDescriptionConfigures the address of a given service instance.Configures the address of a given service endpoint.Configures the address of a given service endpoint.Configures a query for service instances.
-
Method Details
-
matching
Configures a query for service instances.- Parameters:
query- the query- Returns:
- further configuration options
-
at
Configures the address of a given service endpoint.- Parameters:
address- the address of the endpoint- Returns:
- further configuration options
- Throws:
IllegalArgumentException- if the address is invalid
-
at
Configures the address of a given service endpoint.- Parameters:
address- the address of the endpoint- Returns:
- further configuration options
- Throws:
IllegalArgumentException- if the address is invalid
-
at
Configures the address of a given service instance.- Parameters:
host- the host of the endpointport- the port of the endpoint- Returns:
- further configuration options
- Throws:
IllegalArgumentException- if the address is invalid
-