hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David J. M. Karlsen" <da...@davidkarlsen.com>
Subject creating objects and calling method
Date Tue, 21 Jun 2005 10:10:14 GMT
Hi list!

I want to construct a chain of commands (using commons chain) by using 
Hivemind for configuring the chain.

I've got a class (say A) with an interface which I can create OK from 
hivemind.
But during construction (or after really) I need to call a method on 
this class (addCommand(<someclass>)).

So - how do I instruct Hivemind to
1) create the command (with a constructor, possibly passing parameters to it
2) then call a method on A.addCommand with the object in 1) as an argument.


Thanks in advance!

Dave

-- 
David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.com

---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-user-help@jakarta.apache.org


Mime
View raw message