@Test public void initProcessApplicationElResolver() { BlueprintContainer containerMock = createBlueprintContainerMock(); OSGiProcessApplication app = new OSGiProcessApplication(createBundleMock(), containerMock); ELResolver elResolver = app.getElResolver(); assertThat(elResolver, is(instanceOf(BlueprintBundleLocalELResolver.class))); assertThat(((BlueprintBundleLocalELResolver) elResolver).getBlueprintContainer(), is(sameInstance(containerMock))); }
@Override protected ELResolver initProcessApplicationElResolver() { BlueprintBundleLocalELResolver elResolver = new BlueprintBundleLocalELResolver(); elResolver.setBlueprintContainer(blueprintContainer); return elResolver; }
OSGiProcessApplication extends AbstractProcessApplication { @Override protected ELResolver initProcessApplicationElResolver() { BlueprintBundleLocalELResolver elResolver = new BlueprintBundleLocalELResolver(); elResolver.setBlueprintContainer(blueprintContainer); return elResolver; } }
OSGiProcessApplication extends AbstractProcessApplication { @Override protected ELResolver initProcessApplicationElResolver() { BlueprintBundleLocalELResolver elResolver = new BlueprintBundleLocalELResolver(); elResolver.setBlueprintContainer(blueprintContainer); return elResolver; } OSGiProcessApplication(Bundle bundle, BlueprintContainer blueprintContainer); }
OSGiProcessApplication extends AbstractProcessApplication { @Override protected ELResolver initProcessApplicationElResolver() { BlueprintBundleLocalELResolver elResolver = new BlueprintBundleLocalELResolver(); elResolver.setBlueprintContainer(blueprintContainer); return elResolver; } OSGiProcessApplication(Bundle bundle, BlueprintContainer blueprintContainer); @Override ProcessApplicationReference getReference(); @Override ClassLoader getProcessApplicationClassloader(); Bundle getBundle(); }
OSGiProcessApplication extends AbstractProcessApplication { @Override protected ELResolver initProcessApplicationElResolver() { BlueprintBundleLocalELResolver elResolver = new BlueprintBundleLocalELResolver(); elResolver.setBlueprintContainer(blueprintContainer); return elResolver; } OSGiProcessApplication(Bundle bundle, BlueprintContainer blueprintContainer); @Override ProcessApplicationReference getReference(); @Override ClassLoader getProcessApplicationClassloader(); Bundle getBundle();  }