Uses of Class
tigase.kernel.core.BeanConfig
Packages that use BeanConfig
Package
Description
-
Uses of BeanConfig in tigase.component
Methods in tigase.component with parameters of type BeanConfigModifier and TypeMethodDescriptionvoidDSLBeanConfiguratorWithBackwardCompatibility.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 booleanDSLBeanConfigurator.hasDirectConfiguration(BeanConfig beanConfig) -
Uses of BeanConfig in tigase.db.util
Methods in tigase.db.util that return types with arguments of type BeanConfigModifier and TypeMethodDescriptionstatic List<BeanConfig> SchemaManager.crawlKernel(List<Class<?>> repositoryClasses, Kernel kernel, DSLBeanConfigurator configurator, Map<String, Object> config) static List<BeanConfig> SchemaManager.getRepositoryBeans(Kernel kernel, List<Class<?>> repositoryClasses, Map<String, Object> config) Method parameters in tigase.db.util with type arguments of type BeanConfigModifier and TypeMethodDescriptionstatic List<SchemaManager.RepoInfo> SchemaManager.getRepositories(Kernel kernel, List<BeanConfig> repoBeans, Map<String, Object> config) Constructors in tigase.db.util with parameters of type BeanConfigModifierConstructorDescriptionRepoInfo(BeanConfig beanConfig, SchemaManager.DataSourceInfo dataSource, Class<?> implementation) -
Uses of BeanConfig in tigase.kernel
Methods in tigase.kernel with parameters of type BeanConfigModifier and TypeMethodDescriptionstatic FieldBeanUtils.getField(BeanConfig bc, String fieldName) -
Uses of BeanConfig in tigase.kernel.beans.config
Methods in tigase.kernel.beans.config with parameters of type BeanConfigModifier and TypeMethodDescriptionvoidAbstractBeanConfigurator.configure(BeanConfig beanConfig, Object bean) voidMethod configures passed bean with provided values.voidBeanConfigurator.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 booleanAbstractBeanConfigurator.hasDirectConfiguration(BeanConfig bc) voidAbstractBeanConfigurator.registerBeans(BeanConfig beanConfig, Object bean, Map<String, Object> values) Method registers all beans which are annotated by@Beanand whichparentproperty is set to class which instance is passed.voidBeanConfigurator.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
Subclasses of BeanConfig in tigase.kernel.coreModifier and TypeClassDescriptionstatic classClass used for delegating beans from one kernel to the other kernel.Methods in tigase.kernel.core that return BeanConfigModifier and TypeMethodDescriptionprotected BeanConfigDependencyManager.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 BeanConfigKernel.registerBean(BeanConfig beanConfig, BeanConfig factoryBeanConfig, Object beanInstance) DependencyManager.unregister(String beanName) Methods in tigase.kernel.core that return types with arguments of type BeanConfigModifier 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.Methods in tigase.kernel.core with parameters of type BeanConfigModifier and TypeMethodDescriptionvoidBeanConfig.addRegisteredBean(BeanConfig beanConfig) voidBeanConfig.addRegisteredBy(BeanConfig beanConfig) DependencyManager.getDependenciesTo(BeanConfig destination) DependencyManager.getDependentBeans(BeanConfig beanConfig) protected voidKernel.initBean(BeanConfig tmpBC, Set<BeanConfig> createdBeansConfig, int deep) protected voidKernel.injectIfRequired(BeanConfig beanConfig) static booleanDependencyManager.match(Dependency dependency, BeanConfig beanConfig) protected voidDependencyManager.prepareDependencies(BeanConfig beanConfig) protected BeanConfigKernel.registerBean(BeanConfig beanConfig, BeanConfig factoryBeanConfig, Object beanInstance) BeanConfigBuilder.registeredBy(BeanConfig parent) voidBeanConfig.removeRegisteredBean(BeanConfig beanConfig) booleanBeanConfig.removeRegisteredBy(BeanConfig beanConfig) Method parameters in tigase.kernel.core with type arguments of type BeanConfigModifier and TypeMethodDescription<T> TKernel.getInstanceIfExistsOr(String beanName, Function<BeanConfig, T> function) Returns instance of bean if instance exists already or calls passed function.protected voidKernel.initBean(BeanConfig tmpBC, Set<BeanConfig> createdBeansConfig, int deep) voidKernel.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