private final PluginContext delegate;
public SparkPluginContext() {
this(SparkContextProvider.getSparkContext());
}
public SparkPluginContext(ExecutionSparkContext context) {
<BUG>this(context.getPluginInstantiator(), context.getProgramId(), context.getApplicationSpecification().getPlugins());
}</BUG>
public SparkPluginContext(@Nullable PluginInstantiator pluginInstantiator,
<BUG>Id.Program programId, Map<String, Plugin> plugins) {
</BUG>
this.delegate = new DefaultPluginContext(pluginInstantiator, programId, plugins);

private final PluginContext delegate;
public SparkPluginContext() {
this(SparkContextProvider.getSparkContext());
}
public SparkPluginContext(ExecutionSparkContext context) {
this(context.getPluginInstantiator(), context.getProgramId().toEntityId(),
context.getApplicationSpecification().getPlugins());
}
public SparkPluginContext(@Nullable PluginInstantiator pluginInstantiator,
ProgramId programId, Map<String, Plugin> plugins) {
