Ignore default list of beans created/used by @Autowired

Problem

You define a group of beans of certain type in Spring and at the same time you want to define a custom list of these beans. However when using @Autowired to inject this list you end up with the default implementation of the list provided by @Autowired .
Continue reading Ignore default list of beans created/used by @Autowired

Inject spring bean into Dynamic Schema Processor in Pentaho

Problem

When creating custom classes for Pentaho BA Server, we can ask Spring to create their instances for us, by simply putting necessary settings in one of the application context configuration files under ../biserver-ee/pentaho-solutions/system. But what if our new class has to be created outside of spring and we still need to inject dependencies from the context created for Pentaho? Particularly this becomes a problem when we would like to inject some dependencies into Dynamic Schema Processor.

Continue reading Inject spring bean into Dynamic Schema Processor in Pentaho