On Fri, Jan 9, 2009 at 6:59 AM, <[email protected]> wrote: > Hi Jordan, > > that's right. You don't need to change the interfaces. Doing this is bad > style in my mind. > > In my tests I have written my own Guice Module and told Shindig to take > this. You have to put this in the web.xml of Shindig and this works fine. In > the Shindig installation there are several web.xml files, e.g. web.full.xml. > I have made the changes everywhere as I don't know which one is the right.
There are comments in the web.xml files indicating what they're for: - web.gadgets.xml: just the gadget rendering server - web.social.xml: just the social data / RESTful server - web.full.xml: both servers in a single container > > > I have provided my sample code in the apache wiki as a zip attachement ( > http://cwiki.apache.org/confluence/display/SHINDIG/Providing+your+own+data+service+implementation > ). > > Cheers > Harry > > ----- Original Nachricht ---- > Von: Jordan Zimmerman <[email protected]> > An: [email protected] > Datum: 09.01.2009 09:53 > Betreff: RE: Help needed hooking/injecting my service handlers > > > > > I've also changed the @ImplementedBy for the service interfaces. > > > Why are you changing this? You shouldn't need to modify the interfaces > > > > > in any way. > > > > ActivityService, PersonService, and AppDataService are all marked with > > the annotation: > > @ImplementedBy(JsonDbOpensocialService.class) > > > > I don't need to change that? > > > > Jordan Zimmerman > > Principal Software Architect > > 831.647.4712 > > 831.214.2990 (cell) > > [email protected] > > > > SHOP*COMTM > > All your favorite stores. > > OneCart(r) convenience. > > 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. > > > > Jetzt komfortabel bei Arcor-Digital TV einsteigen: Mehr Happy Ends, mehr > Herzschmerz, mehr Fernsehen! Erleben Sie 50 digitale TV Programme und > optional 60 Pay TV Sender, einen elektronischen Programmführer mit Movie > Star Bewertungen von TV Movie. Außerdem, aktuelle Filmhits und spannende > Dokus in der Arcor-Videothek. Infos unter www.arcor.de/tv >

