Restlet Framework 2.2.2
Java Standard Edition

org.restlet.ext.guice
Class SelfInjectingServerResourceModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by org.restlet.ext.guice.SelfInjectingServerResourceModule
All Implemented Interfaces:
com.google.inject.Module

public class SelfInjectingServerResourceModule
extends com.google.inject.AbstractModule

Install this module to arrange for SelfInjectingServerResource instances to have their members injected (idempotently) by the SelfInjectingServerResource.doInit() method (which is called automatically after construction).

Author:
Tim Peierls

Constructor Summary
SelfInjectingServerResourceModule()
           
 
Method Summary
protected  void configure()
           
 
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

SelfInjectingServerResourceModule

public SelfInjectingServerResourceModule()
Method Detail

configure

protected final void configure()
Specified by:
configure in class com.google.inject.AbstractModule

Restlet Framework 2.2.2
Java Standard Edition

Copyright © 2005-2014 Restlet.