org.apache.shindig.social.core.config
Class SocialApiGuiceModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by org.apache.shindig.social.core.config.SocialApiGuiceModule
All Implemented Interfaces:
com.google.inject.Module

public class SocialApiGuiceModule
extends com.google.inject.AbstractModule

Provides social api component injection. Implementor may want to replace this module if they need to replace some of the internals of the Social API, like for instance the JSON to Bean to JSON converter Beans, however in general this should not be required, as most default implementations have been specified with the Guice @ImplementedBy annotation.


Constructor Summary
SocialApiGuiceModule()
           
 
Method Summary
protected  void configure()
          
protected  Set<Class<?>> getHandlers()
          Hook to provide a Set of request handlers.
 
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocialApiGuiceModule

public SocialApiGuiceModule()
Method Detail

configure

protected void configure()

Specified by:
configure in class com.google.inject.AbstractModule

getHandlers

protected Set<Class<?>> getHandlers()
Hook to provide a Set of request handlers. Subclasses may override to add or replace additional handlers.



Copyright © 2007-2012. All Rights Reserved.