Package org.eclipse.keyple.distributed
Class RemotePluginServerFactoryBuilder
- java.lang.Object
-
- org.eclipse.keyple.distributed.RemotePluginServerFactoryBuilder
-
public final class RemotePluginServerFactoryBuilder extends java.lang.ObjectBuilder ofRemotePluginServerFactoryfor Keyple ObservablePlugin type.- Since:
- 2.0.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRemotePluginServerFactoryBuilder.BuilderStepLast step : builds a new instance.static interfaceRemotePluginServerFactoryBuilder.NodeStepStep to configure the node associated with the service.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RemotePluginServerFactoryBuilder.NodeStepbuilder(java.lang.String remotePluginName)Gets the first step of the builder to use in order to create a new factory instance.static RemotePluginServerFactoryBuilder.NodeStepbuilder(java.lang.String remotePluginName, java.util.concurrent.ExecutorService executorService)Gets the first step of the builder to use in order to create a new factory instance.
-
-
-
Method Detail
-
builder
public static RemotePluginServerFactoryBuilder.NodeStep builder(java.lang.String remotePluginName)
Gets the first step of the builder to use in order to create a new factory instance.- Parameters:
remotePluginName- The identifier of the remote plugin.- Returns:
- Next configuration step.
- Throws:
java.lang.IllegalArgumentException- If the plugin name is null or empty.- Since:
- 2.0.0
-
builder
public static RemotePluginServerFactoryBuilder.NodeStep builder(java.lang.String remotePluginName, java.util.concurrent.ExecutorService executorService)
Gets the first step of the builder to use in order to create a new factory instance.- Parameters:
remotePluginName- The identifier of the remote plugin.executorService- The custom service to be used to asynchronously notify remote reader connection events.- Returns:
- Next configuration step.
- Throws:
java.lang.IllegalArgumentException- If the plugin name is null or empty or if the executor service is null.- Since:
- 2.1.0
-
-