"gurkanerdogdu" wrote :
| I was looking for the configuration and booting of the Kernel instance. There is a
class KernelFactory to create Kernel instances. It is a singleton factory class for
Kernel. But then why Kernel class has a public constructor?
|
| Is it more reasonable to create protected constructor for Kernel class?
|
I don't think it really matters.
Or why do you think it's important?
I think the factory here just acts as an object that knows how to provide you with default
configured Kernel.
But you can instantiate it yourself (hence public ctor) and configure it differently.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4239436#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...