Class Kernel.DelegatedBeanConfig

  • Enclosing class:
    Kernel

    public static class Kernel.DelegatedBeanConfig
    extends BeanConfig
    Class used for delegating beans from one kernel to the other kernel. It is used internally for exporting/linking bean to the other kernels.
    • Method Detail

      • getClazz

        public java.lang.Class<?> getClazz()
        Description copied from class: BeanConfig
        Returns class of bean.
        Overrides:
        getClazz in class BeanConfig
        Returns:
        class of bean.
      • getFactory

        public BeanConfig getFactory()
        Description copied from class: BeanConfig
        Return factory of bean.
        Overrides:
        getFactory in class BeanConfig
        Returns:
        factory of bean. It may return null if default factory is used.
      • getFieldDependencies

        public java.util.Map<java.lang.reflect.Field,​Dependency> getFieldDependencies()
        Description copied from class: BeanConfig
        Returns map of dependencies. Note that Kernel has field-based-dependency model, it means that each dependency must be related to field in class.
        Overrides:
        getFieldDependencies in class BeanConfig
        Returns:
        map of dependencies.
      • isExportable

        public boolean isExportable()
        Description copied from class: BeanConfig
        Checks if bean may be visible in child Kernels.
        Overrides:
        isExportable in class BeanConfig
        Returns:
        true if beans will be visible in child Kernel (other Kernels deployed as beans to current Kernel).