| Modifier and Type | Method | Description |
|---|---|---|
BeanRule |
BeanRuleException.getBeanRule() |
Gets bean rule.
|
BeanRule |
BeanRuleRegistry.getBeanRule(java.lang.Object idOrRequiredType) |
|
BeanRule |
BeanRuleRegistry.getBeanRule(java.lang.String id) |
|
BeanRule[] |
BeanRuleRegistry.getBeanRules(java.lang.Class<?> requiredType) |
|
BeanRule[] |
NoUniqueBeanException.getBeanRules() |
Gets the bean rules.
|
BeanRule |
BeanRuleRegistry.getConfigBeanRule(java.lang.Class<?> requiredType) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Map<java.lang.Class<?>,BeanRule> |
BeanRuleRegistry.getConfigBeanRuleMap() |
|
java.util.Map<java.lang.String,BeanRule> |
BeanRuleRegistry.getIdBasedBeanRuleMap() |
|
java.util.Map<java.lang.Class<?>,java.util.Set<BeanRule>> |
BeanRuleRegistry.getTypeBasedBeanRuleMap() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
BeanRuleRegistry.addBeanRule(BeanRule beanRule) |
Adds a bean rule.
|
static void |
BeanRuleAnalyzer.checkDestroyMethod(java.lang.Class<?> beanClass,
BeanRule beanRule) |
|
static void |
BeanRuleAnalyzer.checkInitMethod(java.lang.Class<?> beanClass,
BeanRule beanRule) |
|
static void |
BeanRuleAnalyzer.checkRequiredProperty(BeanRule beanRule,
java.lang.reflect.Method method) |
|
protected java.lang.Object |
AbstractBeanFactory.createBean(BeanRule beanRule) |
|
static java.lang.Class<?> |
BeanRuleAnalyzer.determineBeanClass(BeanRule beanRule) |
|
protected static java.lang.Class<?> |
BeanRuleAnalyzer.determineFactoryMethodTargetBeanClass(java.lang.Class<?> beanClass,
BeanRule beanRule) |
|
static java.lang.Class<?> |
BeanRuleAnalyzer.determineTargetBeanClassForFactoryBean(java.lang.Class<?> beanClass,
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) |
| 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.
|
BeanDestroyFailedException(BeanRule beanRule) |
Create a new BeanDestroyFailedException.
|
BeanDestroyFailedException(BeanRule beanRule,
java.lang.Throwable cause) |
Create a new BeanDestroyFailedException.
|
BeanDestroyFailedException(java.lang.String msg,
BeanRule beanRule) |
Create a new BeanDestroyFailedException.
|
BeanDestroyFailedException(java.lang.String msg,
BeanRule beanRule,
java.lang.Throwable cause) |
Create a new BeanDestroyFailedException.
|
BeanNotOfRequiredTypeException(java.lang.Class<?> requiredType,
BeanRule beanRule) |
Create a new BeanNotOfRequiredTypeException.
|
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 BeanNotFoundException.
|
UnsupportedBeanScopeException(ScopeType scopeType,
BeanRule beanRule) |
Create a new UnsupportedBeanScopeException.
|
| 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[] constructorArgs,
java.lang.Class<?>[] constructorArgTypes) |
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[] constructorArgs,
java.lang.Class<?>[] constructorArgTypes) |
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) |
| Constructor | Description |
|---|---|
CglibDynamicBeanProxy(ActivityContext context,
BeanRule beanRule) |
|
JavassistDynamicBeanProxy(ActivityContext context,
BeanRule beanRule) |
|
JdkDynamicBeanProxy(ActivityContext context,
BeanRule beanRule,
java.lang.Object bean) |
| Modifier and Type | Field | Description |
|---|---|---|
protected java.util.Map<BeanRule,InstantiatedBean> |
AbstractScope.scopedBeanMap |
| Modifier and Type | Method | Description |
|---|---|---|
InstantiatedBean |
AbstractScope.getInstantiatedBean(BeanRule beanRule) |
|
InstantiatedBean |
Scope.getInstantiatedBean(BeanRule beanRule) |
Returns an instance of the bean that matches the given bean rule.
|
void |
AbstractScope.putInstantiatedBean(BeanRule beanRule,
InstantiatedBean instantiatedBean) |
|
void |
Scope.putInstantiatedBean(BeanRule beanRule,
InstantiatedBean instantiatedBean) |
Saves an instantiated bean with the given bean rule into the scope.
|
| 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) |
| Modifier and Type | Method | Description |
|---|---|---|
static BeanRule |
BeanRule.replicate(BeanRule beanRule) |
|
static void |
BeanRule.updateConstructorArgument(BeanRule beanRule,
java.lang.String text) |
|
static void |
BeanRule.updateProperty(BeanRule beanRule,
java.lang.String text) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Collection<BeanRule> |
ContextRuleAssistant.getBeanRules() |
Returns all bean rules.
|
java.util.Collection<BeanRule> |
ShallowContextRuleAssistant.getBeanRules() |
| 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) |
| Modifier and Type | Method | Description |
|---|---|---|
static BeanParameters |
RuleToParamsConverter.toBeanParameters(BeanRule beanRule) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
AspectranParameters.addRule(BeanRule beanRule) |
Copyright © 2008–2018 The Aspectran Project. All rights reserved.