1 Reply Latest reply on Jun 10, 2010 3:27 PM by 843807

    Getter/Setter before constructor


      i'm trying to write a bean with a bunch of bound properties. I have a lsight problem in the sense i want the bean to run all the setter classes before the constructor. Basically, i want to know if whether the constructor runs first or the getter/setter method and if so which order.

      The reason i ask this is because there is code in the constructor that is dependent on what i get from the setter methods. and i am having trouble synchronizing the order or have no idea at all. Any help would be appreciated. Thanks!
        • 1. Re: Getter/Setter before constructor
          Main Method/Entry point (but this does nothing for your object except gives a way in--no setting here until after the constructors run)
          Default/root constructor first
          local constructor
          --commands invoked in the local constructor
          basically everything else as it shows in your execution path.