Uses of Class
com.aspectran.core.context.rule.BeanRule
-
-
Uses of BeanRule in com.aspectran.core.component.bean
Methods in com.aspectran.core.component.bean that return BeanRule Modifier and Type Method Description BeanRuleBeanCreationException. getBeanRule()Gets bean rule.BeanRuleBeanRuleException. getBeanRule()Gets bean rule.BeanRuleBeanRuleRegistry. getBeanRule(java.lang.Object idOrRequiredType)BeanRuleBeanRuleRegistry. getBeanRule(java.lang.String id)BeanRuleBeanRuleRegistry. getBeanRuleForConfig(java.lang.Class<?> requiredType)BeanRule[]BeanRuleRegistry. getBeanRules(java.lang.Class<?> requiredType)BeanRule[]NoUniqueBeanException. getBeanRules()Gets the bean rules.Methods in com.aspectran.core.component.bean that return types with arguments of type BeanRule Modifier and Type Method Description java.util.Map<java.lang.Class<?>,BeanRule>BeanRuleRegistry. getConfigurableBeanRuleMap()java.util.Collection<BeanRule>BeanRuleRegistry. getConfigurableBeanRules()java.util.Map<java.lang.String,BeanRule>BeanRuleRegistry. getIdBasedBeanRuleMap()java.util.Collection<BeanRule>BeanRuleRegistry. getIdBasedBeanRules()java.util.Map<java.lang.Class<?>,java.util.Set<BeanRule>>BeanRuleRegistry. getTypeBasedBeanRuleMap()java.util.Collection<java.util.Set<BeanRule>>BeanRuleRegistry. getTypeBasedBeanRules()Methods in com.aspectran.core.component.bean with parameters of type BeanRule Modifier and Type Method Description voidBeanRuleRegistry. addBeanRule(BeanRule beanRule)Adds a bean rule.protected java.lang.ObjectAbstractBeanFactory. createBean(BeanRule beanRule)protected abstract <T> TAbstractBeanRegistry. getBean(BeanRule beanRule)<T> TContextBeanRegistry. getBean(BeanRule beanRule)static java.lang.StringNoUniqueBeanException. getBeanDescriptions(BeanRule[] beanRules)protected java.lang.ObjectAbstractBeanFactory. getFactoryProducedObject(BeanRule beanRule, java.lang.Object bean)Constructors in com.aspectran.core.component.bean with parameters of type BeanRule Constructor Description BeanCreationException(BeanRule beanRule)Instantiates a new BeanCreationException.BeanCreationException(BeanRule beanRule, java.lang.Throwable cause)Instantiates a new BeanCreationException.BeanCreationException(java.lang.String msg, BeanRule beanRule)Instantiates a new BeanCreationException.BeanCreationException(java.lang.String msg, BeanRule beanRule, java.lang.Throwable cause)Instantiates a new BeanCreationException.BeanNotOfRequiredTypeException(java.lang.Class<?> requiredType, BeanRule beanRule)Create a new BeanNotOfRequiredTypeException.BeanRuleException(BeanRule beanRule)Instantiates a new BeanRuleException.BeanRuleException(BeanRule beanRule, java.lang.Throwable cause)Instantiates a new BeanRuleException.BeanRuleException(java.lang.String msg, BeanRule beanRule)Instantiates a new BeanRuleException.BeanRuleException(java.lang.String msg, BeanRule beanRule, java.lang.Throwable cause)Instantiates a new BeanRuleException.FactoryBeanNotInitializedException(BeanRule beanRule)Instantiates a new FactoryBeanNotInitializedException.FactoryBeanNotInitializedException(java.lang.String msg, BeanRule beanRule)Instantiates a new FactoryBeanNotInitializedException.NoUniqueBeanException(java.lang.Class<?> requiredType, BeanRule[] beanRules)Instantiates a new NoUniqueBeanException.UnsupportedBeanScopeException(ScopeType scopeType, BeanRule beanRule)Create a new UnsupportedBeanScopeException. -
Uses of BeanRule in com.aspectran.core.component.bean.proxy
Methods in com.aspectran.core.component.bean.proxy that return BeanRule Modifier and Type Method Description BeanRuleProxyBeanInstantiationException. getBeanRule()Return the offending bean rule.Methods in com.aspectran.core.component.bean.proxy with parameters of type BeanRule Modifier and Type Method Description protected booleanAbstractDynamicBeanProxy. isSameBean(BeanRule beanRule, AspectAdviceRule aspectAdviceRule)static java.lang.ObjectCglibDynamicBeanProxy. newInstance(ActivityContext context, BeanRule beanRule, java.lang.Object[] args, java.lang.Class<?>[] argTypes)Creates a proxy class of bean and returns an instance of that class.static java.lang.ObjectJavassistDynamicBeanProxy. newInstance(ActivityContext context, BeanRule beanRule, java.lang.Object[] args, java.lang.Class<?>[] argTypes)Creates a proxy class of bean and returns an instance of that class.static java.lang.ObjectJdkDynamicBeanProxy. newInstance(ActivityContext context, BeanRule beanRule, java.lang.Object bean)Constructors in com.aspectran.core.component.bean.proxy with parameters of type BeanRule Constructor Description ProxyBeanInstantiationException(BeanRule beanRule, java.lang.Throwable cause)Create a new ProxyBeanInstantiationException. -
Uses of BeanRule in com.aspectran.core.component.bean.scope
Methods in com.aspectran.core.component.bean.scope with parameters of type BeanRule Modifier and Type Method Description BeanInstanceAbstractScope. getBeanInstance(BeanRule beanRule)BeanInstanceScope. getBeanInstance(BeanRule beanRule)Returns an instance of the bean that matches the given bean rule.voidAbstractScope. putBeanInstance(BeanRule beanRule, BeanInstance beanInstance)voidScope. putBeanInstance(BeanRule beanRule, BeanInstance beanInstance)Saves an instantiated bean with the given bean rule into the scope. -
Uses of BeanRule in com.aspectran.core.context.rule
Methods in com.aspectran.core.context.rule that return BeanRule Modifier and Type Method Description static BeanRuleBeanRule. newInstance(java.lang.String id, java.lang.String className, java.lang.String scanPattern, java.lang.String maskPattern, java.lang.String initMethodName, java.lang.String destroyMethodName, java.lang.String factoryMethodName, java.lang.String scope, java.lang.Boolean singleton, java.lang.Boolean lazyInit, java.lang.Boolean important)static BeanRuleBeanRule. newOfferedFactoryBeanInstance(java.lang.String id, java.lang.String factoryBeanId, java.lang.String factoryMethodName, java.lang.String initMethodName, java.lang.String destroyMethodName, java.lang.String scope, java.lang.Boolean singleton, java.lang.Boolean lazyInit, java.lang.Boolean important)BeanRuleBeanRule. replicate()static BeanRuleBeanRule. replicate(BeanRule beanRule)Methods in com.aspectran.core.context.rule with parameters of type BeanRule Modifier and Type Method Description static BeanRuleBeanRule. replicate(BeanRule beanRule) -
Uses of BeanRule in com.aspectran.core.context.rule.assistant
Methods in com.aspectran.core.context.rule.assistant that return types with arguments of type BeanRule Modifier and Type Method Description java.util.Collection<BeanRule>ContextRuleAssistant. getBeanRules()Returns all bean rules.java.util.Collection<BeanRule>ShallowContextRuleAssistant. getBeanRules()Methods in com.aspectran.core.context.rule.assistant with parameters of type BeanRule Modifier and Type Method Description voidContextRuleAssistant. addBeanRule(BeanRule beanRule)Adds the bean rule.voidShallowContextRuleAssistant. addBeanRule(BeanRule beanRule)voidContextRuleAssistant. resolveFactoryBeanClass(BeanRule beanRule)Resolve bean class for factory bean rule.voidShallowContextRuleAssistant. resolveFactoryBeanClass(BeanRule beanRule) -
Uses of BeanRule in com.aspectran.core.context.rule.converter
Methods in com.aspectran.core.context.rule.converter with parameters of type BeanRule Modifier and Type Method Description static BeanParametersRuleToParamsConverter. toBeanParameters(BeanRule beanRule) -
Uses of BeanRule in com.aspectran.core.context.rule.params
Methods in com.aspectran.core.context.rule.params that return BeanRule Modifier and Type Method Description BeanRuleAspectranParameters. newBeanRule()Methods in com.aspectran.core.context.rule.params with parameters of type BeanRule Modifier and Type Method Description AspectranParametersAspectranParameters. addRule(BeanRule beanRule)
-