catalin,
were you able to figure a way to use a static method in point#2 below?
2. In point two, I meant some sort of <create-object> that uses a static
getInstance method instead of calling the constructor.
i have a requirement where i want to pass a new instance of an apache
commons Log object from the Logger in the
<invoke-factory>
<construct class=blah>
<set-object property="log"
value="instance:@[EMAIL PROTECTED]()" />
</construct>
</invoke-factory>
I've not be able to figure out how to do it!
<set-object property="log"
value="instance:@[EMAIL PROTECTED]()" />
or
<set-object property="log"
value="instance:org.apache.log4j.Logger.getLog()" />
or anything else?!
--
View this message in context:
http://www.nabble.com/Using-Hivemind-in-an-existing-application-tf165498.html#a6790990
Sent from the Hivemind - User mailing list archive at Nabble.com.