Uses of Class
tigase.kernel.core.BeanConfig
Package
Description
-
Uses of BeanConfig in tigase.component
Modifier and TypeMethodDescriptionvoid
DSLBeanConfiguratorWithBackwardCompatibility.configure
(BeanConfig beanConfig, Object bean, Map<String, Object> values) DSLBeanConfigurator.getBeanConfigurationProperties
(BeanConfig beanConfig, Map<String, String> aliasesToFields) DSLBeanConfiguratorWithBackwardCompatibility.getBeanConfigurationProperties
(BeanConfig beanConfig) DSLBeanConfigurator.getConfiguration
(BeanConfig beanConfig) DSLBeanConfigurator.getFieldAliasses
(BeanConfig beanConfig) protected boolean
DSLBeanConfigurator.hasDirectConfiguration
(BeanConfig beanConfig) -
Uses of BeanConfig in tigase.db.util
ModifierConstructorDescriptionRepoInfo
(BeanConfig beanConfig, SchemaManager.DataSourceInfo dataSource, Class<?> implementation) -
Uses of BeanConfig in tigase.kernel
Modifier and TypeMethodDescriptionstatic Field
BeanUtils.getField
(BeanConfig bc, String fieldName) -
Uses of BeanConfig in tigase.kernel.beans.config
Modifier and TypeMethodDescriptionvoid
AbstractBeanConfigurator.configure
(BeanConfig beanConfig, Object bean) void
Method configures passed bean with provided values.void
BeanConfigurator.configure
(BeanConfig beanConfig, Object bean) Configure bean.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).AbstractBeanConfigurator.getConfiguration
(BeanConfig beanConfig) Method returns configuration of a bean.AbstractBeanConfigurator.grabDefaultConfig
(BeanConfig beanConfig, Object bean) protected abstract boolean
AbstractBeanConfigurator.hasDirectConfiguration
(BeanConfig bc) void
AbstractBeanConfigurator.registerBeans
(BeanConfig beanConfig, Object bean, Map<String, Object> values) Method registers all beans which are annotated by@Bean
and whichparent
property is set to class which instance is passed.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. -
Uses of BeanConfig in tigase.kernel.core
Modifier and TypeClassDescriptionstatic class
Class used for delegating beans from one kernel to the other kernel.Modifier and TypeMethodDescriptionprotected BeanConfig
DependencyManager.createBeanConfig
(Kernel kernel, String beanName, Class<?> beanClass) BeanConfigBuilder.execWithoutInject()
Dependency.getBeanConfig()
Returns definition of bean.DependencyManager.getBeanConfig
(String beanName) DependencyManager.getBeanConfig
(Dependency dependency) BeanConfig.getFactory()
Return factory of bean.Kernel.DelegatedBeanConfig.getFactory()
Kernel.DelegatedBeanConfig.getOriginal()
protected BeanConfig
Kernel.registerBean
(BeanConfig beanConfig, BeanConfig factoryBeanConfig, Object beanInstance) DependencyManager.unregister
(String beanName) Modifier and TypeMethodDescriptionDependencyManager.getBeanConfigs()
DependencyManager.getBeanConfigs
(Class<?> type, Type genericType, Class<?> ownerClass) DependencyManager.getBeanConfigs
(Class<?> type, Type genericType, Class<?> ownerClass, boolean allowNonExportable) DependencyManager.getDependentBeans
(BeanConfig beanConfig) BeanConfig.getRegisteredBeans()
List of beans registered by registration of this bean - related toBean::parent
.BeanConfig.getRegisteredBy()
Set of beans which caused registration of this bean - related toBean::parent
.Modifier and TypeMethodDescriptionvoid
BeanConfig.addRegisteredBean
(BeanConfig beanConfig) void
BeanConfig.addRegisteredBy
(BeanConfig beanConfig) DependencyManager.getDependenciesTo
(BeanConfig destination) 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.registeredBy
(BeanConfig parent) void
BeanConfig.removeRegisteredBean
(BeanConfig beanConfig) boolean
BeanConfig.removeRegisteredBy
(BeanConfig beanConfig) Modifier and TypeMethodDescription<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.