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?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227422#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...