Package jodd.petite

Class BeanData<T>


  • public class BeanData<T>
    extends java.lang.Object
    Petite bean is defined by 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.
    • Method Detail

      • bean

        public T bean()
        Returns Petite bean instance.
      • scopeRegister

        public void scopeRegister()
        Registers scope.
      • callDestroyMethods

        public void callDestroyMethods()
        Calls destroy methods on given BeanData. Destroy methods are called without any order.
      • invokeConsumerIfRegistered

        public void invokeConsumerIfRegistered()
      • newBeanInstance

        public java.lang.Object newBeanInstance()
        Creates a new instance.
      • injectParams

        public void injectParams​(ParamManager paramManager,
                                 boolean implicitParamInjection)
        Injects all parameters.
      • wireBean

        public void wireBean()
        Wires beans.
      • wireProperties

        protected void wireProperties()
      • wireSets

        protected void wireSets()
      • wireMethods

        protected void wireMethods()
        Invokes single method injection point on given bean with given bean definition.
      • invokeMethodInjectionPoint

        public java.lang.Object invokeMethodInjectionPoint​(MethodInjectionPoint methodRef)