public class EmbeddedEnvironmentFactory extends java.lang.Object implements EnvironmentFactory
EnvironmentFactory that communicates to a FnHarness which is executing in the
 same process.| Modifier and Type | Class and Description | 
|---|---|
| static class  | EmbeddedEnvironmentFactory.ProviderProvider of EmbeddedEnvironmentFactory. | 
| Modifier and Type | Method and Description | 
|---|---|
| static EnvironmentFactory | create(PipelineOptions options,
      GrpcFnServer<GrpcLoggingService> loggingServer,
      GrpcFnServer<FnApiControlClientPoolService> controlServer,
      ControlClientPool.Source clientSource) | 
| RemoteEnvironment | createEnvironment(org.apache.beam.model.pipeline.v1.RunnerApi.Environment environment,
                 java.lang.String workerId)Creates an active  RunnerApi.Environmentand returns a handle to it. | 
public static EnvironmentFactory create(PipelineOptions options, GrpcFnServer<GrpcLoggingService> loggingServer, GrpcFnServer<FnApiControlClientPoolService> controlServer, ControlClientPool.Source clientSource)
public RemoteEnvironment createEnvironment(org.apache.beam.model.pipeline.v1.RunnerApi.Environment environment, java.lang.String workerId) throws java.lang.Exception
EnvironmentFactoryRunnerApi.Environment and returns a handle to it.createEnvironment in interface EnvironmentFactoryjava.lang.Exception