Package org.eclipse.keyple.distributed
Interface LocalServiceServerFactoryBuilder.BuilderStep
- Enclosing class:
- LocalServiceServerFactoryBuilder
public static interface LocalServiceServerFactoryBuilder.BuilderStep
Last step : build a new instance.
- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates a new instance ofLocalServiceServerFactoryusing the current configuration.withPoolPlugins(String... poolPluginNames) Configures the service with one or more pool plugin(s) in order to restrict the search area for pool plugin only.
-
Method Details
-
withPoolPlugins
Configures the service with one or more pool plugin(s) in order to restrict the search area for pool plugin only.- Parameters:
poolPluginNames- One or more pool plugin names.- Returns:
- Next configuration step.
- Throws:
IllegalArgumentException- If no pool plugin name is set or if some names are null or empty.- Since:
- 2.0.0
-
build
LocalServiceServerFactory build()Creates a new instance ofLocalServiceServerFactoryusing the current configuration.- Returns:
- A not null reference.
- Since:
- 2.0.0
-