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 Description voidDSLBeanConfiguratorWithBackwardCompatibility. configure(BeanConfig beanConfig, java.lang.Object bean, java.util.Map<java.lang.String,java.lang.Object> values)protected java.util.Map<java.lang.String,java.lang.Object>DSLBeanConfigurator. getBeanConfigurationProperties(BeanConfig beanConfig, java.util.Map<java.lang.String,java.lang.String> aliasesToFields)java.util.Map<java.lang.String,java.lang.Object>DSLBeanConfiguratorWithBackwardCompatibility. getBeanConfigurationProperties(BeanConfig beanConfig)java.util.Map<java.lang.String,java.lang.Object>DSLBeanConfigurator. getConfiguration(BeanConfig beanConfig)protected java.util.Map<java.lang.String,java.lang.String>DSLBeanConfigurator. getFieldAliasses(BeanConfig beanConfig)protected booleanDSLBeanConfigurator. hasDirectConfiguration(BeanConfig beanConfig) -
Uses of BeanConfig in tigase.db.util
Constructors in tigase.db.util with parameters of type BeanConfig Constructor Description RepoInfo(BeanConfig beanConfig, SchemaManager.DataSourceInfo dataSource, java.lang.Class<?> implementation) -
Uses of BeanConfig in tigase.kernel
Methods in tigase.kernel with parameters of type BeanConfig Modifier and Type Method Description static java.lang.reflect.FieldBeanUtils. getField(BeanConfig bc, java.lang.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 Description voidAbstractBeanConfigurator. configure(BeanConfig beanConfig, java.lang.Object bean)voidAbstractBeanConfigurator. configure(BeanConfig beanConfig, java.lang.Object bean, java.util.Map<java.lang.String,java.lang.Object> values)Method configures passed bean with provided values.voidBeanConfigurator. configure(BeanConfig beanConfig, java.lang.Object bean)Configure bean.protected java.util.ArrayDeque<java.lang.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 java.util.Map<java.lang.String,java.lang.Object>AbstractBeanConfigurator. getConfiguration(BeanConfig beanConfig)Method returns configuration of a bean.protected java.util.Map<java.lang.reflect.Field,java.lang.Object>AbstractBeanConfigurator. grabDefaultConfig(BeanConfig beanConfig, java.lang.Object bean)protected abstract booleanAbstractBeanConfigurator. hasDirectConfiguration(BeanConfig bc)voidAbstractBeanConfigurator. registerBeans(BeanConfig beanConfig, java.lang.Object bean, java.util.Map<java.lang.String,java.lang.Object> values)Method registers all beans which are annotated by@Beanand whichparentproperty is set to class which instance is passed.voidBeanConfigurator. registerBeans(BeanConfig beanConfig, java.lang.Object bean, java.util.Map<java.lang.String,java.lang.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.core Modifier and Type Class Description static classKernel.DelegatedBeanConfigClass used for delegating beans from one kernel to the other kernel.Methods in tigase.kernel.core that return BeanConfig Modifier and Type Method Description protected BeanConfigDependencyManager. createBeanConfig(Kernel kernel, java.lang.String beanName, java.lang.Class<?> beanClass)BeanConfigBeanConfigBuilder. execWithoutInject()BeanConfigDependency. getBeanConfig()Returns definition of bean.BeanConfigDependencyManager. getBeanConfig(java.lang.String beanName)BeanConfig[]DependencyManager. getBeanConfig(Dependency dependency)BeanConfigBeanConfig. getFactory()Return factory of bean.BeanConfigKernel.DelegatedBeanConfig. getFactory()BeanConfigKernel.DelegatedBeanConfig. getOriginal()protected BeanConfigKernel. registerBean(BeanConfig beanConfig, BeanConfig factoryBeanConfig, java.lang.Object beanInstance)BeanConfigDependencyManager. unregister(java.lang.String beanName)Methods in tigase.kernel.core that return types with arguments of type BeanConfig Modifier and Type Method Description java.util.Collection<BeanConfig>DependencyManager. getBeanConfigs()java.util.List<BeanConfig>DependencyManager. getBeanConfigs(java.lang.Class<?> type, java.lang.reflect.Type genericType, java.lang.Class<?> ownerClass)java.util.List<BeanConfig>DependencyManager. getBeanConfigs(java.lang.Class<?> type, java.lang.reflect.Type genericType, java.lang.Class<?> ownerClass, boolean allowNonExportable)java.util.HashSet<BeanConfig>DependencyManager. getDependentBeans(BeanConfig beanConfig)java.util.Set<BeanConfig>BeanConfig. getRegisteredBeans()List of beans registered by registration of this bean - related toBean::parent.java.util.Set<BeanConfig>BeanConfig. getRegisteredBy()Set of beans which caused registration of this bean - related toBean::parent.Methods in tigase.kernel.core with parameters of type BeanConfig Modifier and Type Method Description voidBeanConfig. addRegisteredBean(BeanConfig beanConfig)voidBeanConfig. addRegisteredBy(BeanConfig beanConfig)java.util.Collection<Dependency>DependencyManager. getDependenciesTo(BeanConfig destination)java.util.HashSet<BeanConfig>DependencyManager. getDependentBeans(BeanConfig beanConfig)protected voidKernel. initBean(BeanConfig tmpBC, java.util.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, java.lang.Object beanInstance)BeanConfigBuilderBeanConfigBuilder. registeredBy(BeanConfig parent)voidBeanConfig. removeRegisteredBean(BeanConfig beanConfig)booleanBeanConfig. removeRegisteredBy(BeanConfig beanConfig)Method parameters in tigase.kernel.core with type arguments of type BeanConfig Modifier and Type Method Description <T> TKernel. getInstanceIfExistsOr(java.lang.String beanName, java.util.function.Function<BeanConfig,T> function)Returns instance of bean if instance exists already or calls passed function.protected voidKernel. initBean(BeanConfig tmpBC, java.util.Set<BeanConfig> createdBeansConfig, int deep)voidKernel. shutdown(java.util.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 Description Dependency(BeanConfig beanConfig)Creates instance of class.
-