On 9 Jan 2009, at 08:53, Jordan Zimmerman wrote:
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)
Thats just the default, if no binding is defined, its used.
Any binding in a module will override it ( but you can only define it
once in a module in Guice1.0)
For an sample of how to provide a different module see
http://svn.apache.org/repos/asf/incubator/shindig/trunk/java/samples/src/main/java/org/apache/shindig/social/opensocial/jpa/spi/JPASocialModule.java
Which, to activate the JPA SPI should be added as an independent
module to
http://svn.apache.org/repos/asf/incubator/shindig/trunk/java/server/src/main/webapp/WEB-INF/web.xml
at the end of the list of 'guice-modules'
HTH
Ian
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.