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 BeanRule
BeanCreationException. getBeanRule()
Gets bean rule.BeanRule
BeanRuleException. getBeanRule()
Gets bean rule.BeanRule
BeanRuleRegistry. getBeanRule(java.lang.Object idOrRequiredType)
BeanRule
BeanRuleRegistry. getBeanRule(java.lang.String id)
BeanRule
BeanRuleRegistry. 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 void
BeanRuleRegistry. addBeanRule(BeanRule beanRule)
Adds a bean rule.protected java.lang.Object
AbstractBeanFactory. createBean(BeanRule beanRule)
protected abstract <T> T
AbstractBeanRegistry. getBean(BeanRule beanRule)
<T> T
ContextBeanRegistry. getBean(BeanRule beanRule)
static java.lang.String
NoUniqueBeanException. getBeanDescriptions(BeanRule[] beanRules)
protected java.lang.Object
AbstractBeanFactory. 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 BeanRule
ProxyBeanInstantiationException. 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 boolean
AbstractDynamicBeanProxy. isSameBean(BeanRule beanRule, AspectAdviceRule aspectAdviceRule)
static java.lang.Object
CglibDynamicBeanProxy. 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.Object
JavassistDynamicBeanProxy. 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.Object
JdkDynamicBeanProxy. 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 BeanInstance
AbstractScope. getBeanInstance(BeanRule beanRule)
BeanInstance
Scope. getBeanInstance(BeanRule beanRule)
Returns an instance of the bean that matches the given bean rule.void
AbstractScope. putBeanInstance(BeanRule beanRule, BeanInstance beanInstance)
void
Scope. 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 BeanRule
BeanRule. 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 BeanRule
BeanRule. 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)
BeanRule
BeanRule. replicate()
static BeanRule
BeanRule. replicate(BeanRule beanRule)
Methods in com.aspectran.core.context.rule with parameters of type BeanRule Modifier and Type Method Description static BeanRule
BeanRule. 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 void
ContextRuleAssistant. addBeanRule(BeanRule beanRule)
Adds the bean rule.void
ShallowContextRuleAssistant. addBeanRule(BeanRule beanRule)
void
ContextRuleAssistant. resolveFactoryBeanClass(BeanRule beanRule)
Resolve bean class for factory bean rule.void
ShallowContextRuleAssistant. 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 BeanParameters
RulesToParameters. 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 BeanRule
AspectranParameters. newBeanRule()
Methods in com.aspectran.core.context.rule.params with parameters of type BeanRule Modifier and Type Method Description AspectranParameters
AspectranParameters. addRule(BeanRule beanRule)
-