I have several coworkers that are familiar with both projects. I asked
if anyone had ideas and this was the response I got...

~~~~~~~~~~~~~~~~~~~~
Although I haven't actually done it, you can probably create a
controller-factory to lookup the controller in the ApplicationContext.
I just did something similar with translating the path in the
maverick.xml using a transform-factory.

<maverick version="2.0">
  <modules>
    <controller-factory provider="my.custom.SpringControllerFactory">
      <pathToAppContext value="blah.xml"/>
    </controller-factory>
  </modules>
  ...
</maverick>


It has to implement org.infohazard.maverick.flow.ControllerFactory but
there is an AbstractControllerFactory to extend.

~~~~~~~~~~~~~~~~~~~~






-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
Schnitzer
Sent: Wednesday, February 01, 2006 3:22 PM
To: mav-user@lists.sourceforge.net
Subject: Re: [Mav-user] Maverick w/Spring

Unfortunately I don't think there are many people here who are very 
familiar with Spring, but if you find the answer, please post it here.

Thanks,
Jeff

wally bowles wrote:
> Hi 
>
> Can someone help me figure out how to let Spring be
> the factory to instantiate the command controller
> objects within Maverick?  I've used a Spring factory
> before on other projects to inject the collaborators
> that a java class needs using the Spring config xml
> file.
>
> Can this be done to the Maverick commands?  In other
> words, can the Maverick 'Dispatcher' when it
> instantiates the 'Loader' class with the commands
> found in the maverick.xml file call a Spring factory
> to instantiate the commands instead?
>
> The goal is to inject in the class collaborators
> declared in a config xml file into the commands. 
>
> Wally
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD
SPLUNK!
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> [INVALID FOOTER]
>   



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642
[INVALID FOOTER]


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
[INVALID FOOTER]

Reply via email to