public class BeanData<T>
extends java.lang.Object
bean definition
and it's bean instance. This is a internal bean. It holds data and
performs all the operation on the pair of definition and the value.Constructor and Description |
---|
BeanData(PetiteContainer petiteContainer,
BeanDefinition<T> beanDefinition) |
BeanData(PetiteContainer petiteContainer,
BeanDefinition<T> beanDefinition,
T bean) |
Modifier and Type | Method and Description |
---|---|
T |
bean()
Returns Petite bean instance.
|
void |
callDestroyMethods()
Calls destroy methods on given BeanData.
|
BeanDefinition<T> |
definition()
Returns
BeanDefinition . |
void |
injectParams(ParamManager paramManager,
boolean implicitParamInjection)
Injects all parameters.
|
void |
invokeConsumerIfRegistered() |
void |
invokeInitMethods(InitMethodInvocationStrategy invocationStrategy)
Invokes init methods.
|
java.lang.Object |
invokeMethodInjectionPoint(MethodInjectionPoint methodRef) |
java.lang.Object |
newBeanInstance()
Creates a new instance.
|
void |
scopeRegister()
Registers scope.
|
void |
wireBean()
Wires beans.
|
protected void |
wireMethods()
Invokes single method injection point on given bean with given bean definition.
|
protected void |
wireProperties() |
protected void |
wireSets() |
public BeanData(PetiteContainer petiteContainer, BeanDefinition<T> beanDefinition, T bean)
public BeanData(PetiteContainer petiteContainer, BeanDefinition<T> beanDefinition)
public BeanDefinition<T> definition()
BeanDefinition
.public T bean()
public void scopeRegister()
public void invokeInitMethods(InitMethodInvocationStrategy invocationStrategy)
public void callDestroyMethods()
public void invokeConsumerIfRegistered()
public java.lang.Object newBeanInstance()
public void injectParams(ParamManager paramManager, boolean implicitParamInjection)
public void wireBean()
protected void wireProperties()
protected void wireSets()
protected void wireMethods()
public java.lang.Object invokeMethodInjectionPoint(MethodInjectionPoint methodRef)
Copyright © 2003-present Jodd Team