Scope and visibility

Beans that are registered within a parent kernel are visible to beans registered within the first level of child kernels. However, beans registered within child kernels are not available to beans registered in a parent kernel with the exception that they are visible to bean that created the subkernel (an instance of RegistrarBean).

It is possible to export beans so they can be visible outside the first level of child kernels.

To do so, you need to mark the bean as exportable using annotations or by calling the exportable() method.

Using annotation. 

@Bean(name = "bean1", exportable = true)
public class Bean1 {

Calling exportable()