* SarosContextBuilder}
*/
}
private void init(List<Class<?>> excludedComponentsForTestContext) {
PicoBuilder picoBuilder = new PicoBuilder(new CompositeInjection(
new ConstructorInjection(), new AnnotatedFieldInjection()))
.withCaching().withLifecycle();
/*
* If given, the dotMonitor is used to capture an architecture diagram
* of the application
*/
if (dotMonitor != null) {
picoBuilder = picoBuilder.withMonitor(dotMonitor);
}
// Initialize our dependency injection container
this.container = picoBuilder.build();
// Add Adapter which creates ChildContainers
this.container.as(Characteristics.NO_CACHE).addAdapter(
new ProviderAdapter(new ChildContainerProvider(this.container)));
/*