2 Replies Latest reply on Apr 29, 2009 1:00 AM by ataylor

    ClientSessionFactoryImpl attributes

    timfox

      ClientSessionFactoryImpl has a lot of attributes, most of which will never be changed from the defaults.

      This results in quite a lot of different constructors.

      One other approach to this is to remove most of the constructors and just have some basic ones, and if the user wants to change some attribute value they can just call setXXX() explicitly.

      We can enforce in the code that setXXX() is only called after creation but before first use of the session factory, since changing many attributes after the session factory is used may cause unforeseen effects.

      Comments?