## Uses of Class
tigase.kernel.core.BeanConfig

- Packages that use BeanConfig
  Package | Description
  --- | ---
  tigase.component |
  tigase.db.util |
  tigase.kernel |
  tigase.kernel.beans.config |
  tigase.kernel.core |

- - ### Uses of BeanConfig in tigase.component

    Methods in tigase.component with parameters of type BeanConfig
    Modifier and Type | Method and Description
    --- | ---
    `void` | DSLBeanConfiguratorWithBackwardCompatibility.`configure(BeanConfig beanConfig, Object bean, Map<String,Object> values)`
    `Map<String,Object>` | DSLBeanConfiguratorWithBackwardCompatibility.`getBeanConfigurationProperties(BeanConfig beanConfig)`
    `protected Map<String,Object>` | DSLBeanConfigurator.`getBeanConfigurationProperties(BeanConfig beanConfig, Map<String,String> aliasesToFields)`
    `Map<String,Object>` | DSLBeanConfigurator.`getConfiguration(BeanConfig beanConfig)`
    `protected Map<String,String>` | DSLBeanConfigurator.`getFieldAliasses(BeanConfig beanConfig)`
    `protected boolean` | DSLBeanConfigurator.`hasDirectConfiguration(BeanConfig beanConfig)`

  - ### Uses of BeanConfig in tigase.db.util

    Constructors in tigase.db.util with parameters of type BeanConfig
    Constructor and Description
    `RepoInfo(BeanConfig beanConfig, SchemaManager.DataSourceInfo dataSource, Class<?> implementation)`

  - ### Uses of BeanConfig in tigase.kernel

    Methods in tigase.kernel with parameters of type BeanConfig
    Modifier and Type | Method and Description
    --- | ---
    `static Field` | BeanUtils.`getField(BeanConfig bc, String fieldName)`

  - ### Uses of BeanConfig in tigase.kernel.beans.config

    Methods in tigase.kernel.beans.config with parameters of type BeanConfig
    Modifier and Type | Method and Description
    --- | ---
    `void` | BeanConfigurator.`configure(BeanConfig beanConfig, Object bean)` Configure bean.
    `void` | AbstractBeanConfigurator.`configure(BeanConfig beanConfig, Object bean)`
    `void` | AbstractBeanConfigurator.`configure(BeanConfig beanConfig, Object bean, Map<String,Object> values)` Method configures passed bean with provided values.
    `protected ArrayDeque<String>` | AbstractBeanConfigurator.`getBeanConfigPath(BeanConfig beanConfig)` Method returns queue of kernel and bean names to find bean config (path to the bean config from root of the config).
    `protected abstract Map<String,Object>` | AbstractBeanConfigurator.`getConfiguration(BeanConfig beanConfig)` Method returns configuration of a bean.
    `protected Map<Field,Object>` | AbstractBeanConfigurator.`grabDefaultConfig(BeanConfig beanConfig, Object bean)`
    `protected abstract boolean` | AbstractBeanConfigurator.`hasDirectConfiguration(BeanConfig bc)`
    `void` | BeanConfigurator.`registerBeans(BeanConfig beanConfig, Object bean, Map<String,Object> valeus)` Looks for and registers beans which should be registered due to initialization of passed bean.
    `void` | AbstractBeanConfigurator.`registerBeans(BeanConfig beanConfig, Object bean, Map<String,Object> values)` Method registers all beans which are annotated by `@Bean` and which `parent` property is set to class which instance is passed.

  - ### Uses of BeanConfig in tigase.kernel.core

    Subclasses of BeanConfig in tigase.kernel.core
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `Kernel.DelegatedBeanConfig` Class used for delegating beans from one kernel to the other kernel.

    Methods in tigase.kernel.core that return BeanConfig
    Modifier and Type | Method and Description
    --- | ---
    `protected BeanConfig` | DependencyManager.`createBeanConfig(Kernel kernel, String beanName, Class<?> beanClass)`
    `BeanConfig` | BeanConfigBuilder.`execWithoutInject()`
    `BeanConfig` | Dependency.`getBeanConfig()` Returns definition of bean.
    `BeanConfig[]` | DependencyManager.`getBeanConfig(Dependency dependency)`
    `BeanConfig` | DependencyManager.`getBeanConfig(String beanName)`
    `BeanConfig` | Kernel.DelegatedBeanConfig.`getFactory()`
    `BeanConfig` | BeanConfig.`getFactory()` Return factory of bean.
    `BeanConfig` | Kernel.DelegatedBeanConfig.`getOriginal()`
    `protected BeanConfig` | Kernel.`registerBean(BeanConfig beanConfig, BeanConfig factoryBeanConfig, Object beanInstance)`
    `BeanConfig` | DependencyManager.`unregister(String beanName)`

    Methods in tigase.kernel.core that return types with arguments of type BeanConfig
    Modifier and Type | Method and Description
    --- | ---
    `Collection<BeanConfig>` | DependencyManager.`getBeanConfigs()`
    `List<BeanConfig>` | DependencyManager.`getBeanConfigs(Class<?> type, Type genericType, Class<?> ownerClass)`
    `List<BeanConfig>` | DependencyManager.`getBeanConfigs(Class<?> type, Type genericType, Class<?> ownerClass, boolean allowNonExportable)`
    `HashSet<BeanConfig>` | DependencyManager.`getDependentBeans(BeanConfig beanConfig)`
    `Set<BeanConfig>` | BeanConfig.`getRegisteredBeans()` List of beans registered by registration of this bean - related to `Bean::parent`.
    `Set<BeanConfig>` | BeanConfig.`getRegisteredBy()` Set of beans which caused registration of this bean - related to `Bean::parent`.

    Methods in tigase.kernel.core with parameters of type BeanConfig
    Modifier and Type | Method and Description
    --- | ---
    `void` | BeanConfig.`addRegisteredBean(BeanConfig beanConfig)`
    `void` | BeanConfig.`addRegisteredBy(BeanConfig beanConfig)`
    `Collection<Dependency>` | DependencyManager.`getDependenciesTo(BeanConfig destination)`
    `HashSet<BeanConfig>` | DependencyManager.`getDependentBeans(BeanConfig beanConfig)`
    `protected void` | Kernel.`initBean(BeanConfig tmpBC, Set<BeanConfig> createdBeansConfig, int deep)`
    `protected void` | Kernel.`injectIfRequired(BeanConfig beanConfig)`
    `static boolean` | DependencyManager.`match(Dependency dependency, BeanConfig beanConfig)`
    `protected void` | DependencyManager.`prepareDependencies(BeanConfig beanConfig)`
    `protected BeanConfig` | Kernel.`registerBean(BeanConfig beanConfig, BeanConfig factoryBeanConfig, Object beanInstance)`
    `BeanConfigBuilder` | BeanConfigBuilder.`registeredBy(BeanConfig parent)`
    `void` | BeanConfig.`removeRegisteredBean(BeanConfig beanConfig)`
    `boolean` | BeanConfig.`removeRegisteredBy(BeanConfig beanConfig)`

    Method parameters in tigase.kernel.core with type arguments of type BeanConfig
    Modifier and Type | Method and Description
    --- | ---
    `<T> T` | Kernel.`getInstanceIfExistsOr(String beanName, Function<BeanConfig,T> function)` Returns instance of bean if instance exists already or calls passed function.
    `protected void` | Kernel.`initBean(BeanConfig tmpBC, Set<BeanConfig> createdBeansConfig, int deep)`
    `void` | Kernel.`shutdown(Comparator<BeanConfig> shutdownOrder)` Shutdown kernel with passed comparator to define order in which bean will be stopped.

    Constructors in tigase.kernel.core with parameters of type BeanConfig
    Constructor and Description
    `Dependency(BeanConfig beanConfig)` Creates instance of class.

Copyright © 2004–2020 "Tigase, Inc.". All rights reserved.