Uses of Class
com.aspectran.core.context.rule.BeanRule
-
Packages that use BeanRule Package Description com.aspectran.core.activity A package for handling an activity that perform requests, business logic, and responses.com.aspectran.core.component.bean com.aspectran.core.component.bean.proxy com.aspectran.core.component.bean.scope Support for AOP-based scoping of target objects.com.aspectran.core.context.rule com.aspectran.core.context.rule.assistant com.aspectran.core.context.rule.converter com.aspectran.core.context.rule.params -
-
Uses of BeanRule in com.aspectran.core.activity
Methods in com.aspectran.core.activity with parameters of type BeanRule Modifier and Type Method Description <V> V
AbstractActivity. getPrototypeScopeBean(BeanRule beanRule)
<V> V
Activity. getPrototypeScopeBean(BeanRule 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.String id)
BeanRule
BeanRuleRegistry. getBeanRuleForConfig(java.lang.Class<?> type)
BeanRule[]
BeanRuleRegistry. getBeanRules(java.lang.Class<?> type)
BeanRule[]
BeanRuleRegistry. getBeanRules(java.lang.String name)
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.void
BeanRuleRegistry. addInnerBeanRule(BeanRule beanRule)
static java.lang.String
NoUniqueBeanException. getBeanDescriptions(BeanRule[] beanRules)
<V> V
BeanRegistry. getPrototypeScopeBean(BeanRule beanRule)
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.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<?> type, 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 void
AbstractDynamicProxyBean. afterAdvice(java.util.List<AspectAdviceRule> afterAdviceRuleList, BeanRule beanRule, Activity activity)
protected void
AbstractDynamicProxyBean. beforeAdvice(java.util.List<AspectAdviceRule> beforeAdviceRuleList, BeanRule beanRule, Activity activity)
protected void
AbstractDynamicProxyBean. finallyAdvice(java.util.List<AspectAdviceRule> finallyAdviceRuleList, BeanRule beanRule, Activity activity)
static java.lang.Object
CglibDynamicProxyBean. 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
JavassistDynamicProxyBean. 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
JdkDynamicProxyBean. 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 that return BeanRule Modifier and Type Method Description BeanRule
AbstractScope. getBeanRule(java.lang.Object bean)
BeanRule
Scope. getBeanRule(java.lang.Object bean)
Returns the bean rule corresponding to the bean object.Methods in com.aspectran.core.component.bean.scope with parameters of type BeanRule Modifier and Type Method Description boolean
AbstractScope. containsBeanRule(BeanRule beanRule)
boolean
Scope. containsBeanRule(BeanRule beanRule)
Returns whether the bean rule exists in this scope.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(Activity activity, BeanRule beanRule, BeanInstance beanInstance)
void
Scope. putBeanInstance(Activity activity, BeanRule beanRule, BeanInstance beanInstance)
Saves an instantiated bean with the given bean rule into the scope.void
SessionScope. putBeanInstance(Activity activity, BeanRule beanRule, BeanInstance beanInstance)
-
Uses of BeanRule in com.aspectran.core.context.rule
Methods in com.aspectran.core.context.rule that return BeanRule Modifier and Type Method Description BeanRule
ItemRule. getBeanRule()
static BeanRule
BeanRule. newInnerBeanRule(java.lang.String className, java.lang.String initMethodName, java.lang.String destroyMethodName, java.lang.String factoryMethodName)
static BeanRule
BeanRule. newInnerOfferedFactoryBeanRule(java.lang.String factoryBeanId, java.lang.String factoryMethodName, java.lang.String initMethodName, java.lang.String destroyMethodName)
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 lazyDestroy, 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 lazyDestroy, java.lang.Boolean important)
BeanRule
BeanRule. replicate()
static BeanRule
BeanRule. replicate(BeanRule beanRule)
Methods in com.aspectran.core.context.rule that return types with arguments of type BeanRule Modifier and Type Method Description java.util.List<BeanRule>
ItemRule. getBeanRuleList()
java.util.Map<java.lang.String,BeanRule>
ItemRule. getBeanRuleMap()
Methods in com.aspectran.core.context.rule with parameters of type BeanRule Modifier and Type Method Description void
ItemRule. addBeanRule(BeanRule beanRule)
void
ItemRule. putBeanRule(java.lang.String name, BeanRule beanRule)
static BeanRule
BeanRule. replicate(BeanRule beanRule)
void
ItemRule. setBeanRule(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>
ActivityRuleAssistant. 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
ActivityRuleAssistant. addBeanRule(BeanRule beanRule)
Adds the bean rule.void
ShallowContextRuleAssistant. addBeanRule(BeanRule beanRule)
void
ActivityRuleAssistant. addInnerBeanRule(BeanRule beanRule)
void
ShallowContextRuleAssistant. addInnerBeanRule(BeanRule beanRule)
void
ActivityRuleAssistant. resolveBeanClass(BeanRule beanRule)
void
ShallowContextRuleAssistant. resolveBeanClass(BeanRule beanRule)
void
ActivityRuleAssistant. 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 with parameters of type BeanRule Modifier and Type Method Description AspectranParameters
AspectranParameters. addRule(BeanRule beanRule)
-