Hi Christian,
There is currently no such functionality in hivemind - builder factory does require public constructors. There is talk about adding a injector service so that any object could be injected with the appropriate services it requires - would that be of any help?
There is of course the option to create your own instance factory.
Cheers,
Johan
On Thu, 17 Feb 2005 10:35:27 +0100, Domsch, Christian <[EMAIL PROTECTED]> wrote:
Hi,
I have a question regarding construction of services. I want to know, if it
is possible to have a singleton as a service implementation. As I see from
the docs and source, the BuilderFactory tries to construct a new instance
from the service-implementation and the uses this. This would cleary not
function with my singleton as it has a private constructor.
And no, i cannot put the singleton under complete control of hivemind, and
get rid of the singleton behaviour of this class.
Greetings,
Christian Domsch.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- you too?
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
