So, here's how I'm binding:

bind(PipelinedDataPreloader.class).to(MediatedPipelinedDataPreloader.cla
ss);

Then, my web.xml has my Guice module listed first.

I recompiled, etc.

Jordan Zimmerman
Principal Software Architect
831.647.4712
831.214.2990 (cell)
[email protected] 

SHOP*COMTM
Shop Smart, Save Big(tm)
www.shop.com


-----Original Message-----
From: Jordan Zimmerman [mailto:[email protected]] 
Sent: Thursday, March 05, 2009 3:23 PM
To: [email protected]
Subject: RE: Please make PipelinedDataPreloader.getSocialUri() protected


Adam - you wrote:

"executeSocialRequest() is in the latest code on trunk:
Recommend overriding that instead of binding a custom pipeline."

I have not found a way to do this with the current trunk as the
PreloadModule is hard-coded to PipelinedDataPreloader. 

You also wrote:

" (1) bind(PipelinedDataPreloader.class).to(YourSubclass.class) in your
own module. Yes, you can bind concrete classes to subclasses."

I tried this and it didn't work. The constructor to PreloaderProvider()
still got PipelinedDataPreloader not my version. Are you certain this
works? Have you tried it yourself?

" (2) Take advantage of the factored-apart DefaultGuiceModule, which is
now just:"

It seems like really bad form to have to alter the Shindig source
directly. Isn't that the point of using DI?


Jordan Zimmerman
Principal Software Architect
831.647.4712
831.214.2990 (cell)
[email protected] 

SHOP*COMTM
Shop Smart, Save Big(tm)
www.shop.com

This message (including any attachments) is intended only for
the use of the individual or entity to which it is addressed and
may contain information that is non-public, proprietary,
privileged, confidential, and exempt from disclosure under
applicable law or may constitute as attorney work product.
If you are not the intended recipient, you are hereby notified
that any use, dissemination, distribution, or copying of this
communication is strictly prohibited. If you have received this
communication in error, notify us immediately by telephone and
(i) destroy this message if a facsimile or (ii) delete this
message
immediately if this is an electronic communication.

Thank you.

Reply via email to