org.directwebremoting.guice
Class GuiceConfigurator

java.lang.Object
  extended by org.directwebremoting.fluent.FluentConfigurator
      extended by org.directwebremoting.guice.GuiceConfigurator
All Implemented Interfaces:
org.directwebremoting.extend.Configurator

public abstract class GuiceConfigurator
extends org.directwebremoting.fluent.FluentConfigurator

Extends FluentConfigurator with type-safe methods to be more Guice-friendly.


Constructor Summary
GuiceConfigurator()
           
 
Method Summary
 GuiceConfigurator addFilter(java.lang.Class<?> type)
          Safer version of addFilter taking a class instead of a class name.
 GuiceConfigurator withConverter(java.lang.String id, java.lang.Class<?> type)
          Safer version of withConverter taking a class instead of a class name.
 GuiceConfigurator withConverterType(java.lang.String id, java.lang.Class<?> type)
          Safer version of withConverterType taking a class instead of a class name.
 GuiceConfigurator withCreatorType(java.lang.String id, java.lang.Class<?> type)
          Safer version of withCreatorType taking a class instead of a class name.
 GuiceConfigurator withFilter(java.lang.Class<?> type)
          Safer version of withFilter taking a class instead of a class name.
 
Methods inherited from class org.directwebremoting.fluent.FluentConfigurator
addFilter, addLine, addParam, configure, configure, exclude, include, withAuth, withConverter, withConverterType, withCreator, withCreatorType, withFilter, withSignature
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GuiceConfigurator

public GuiceConfigurator()
Method Detail

withConverterType

public GuiceConfigurator withConverterType(java.lang.String id,
                                           java.lang.Class<?> type)
Safer version of withConverterType taking a class instead of a class name.


withConverter

public GuiceConfigurator withConverter(java.lang.String id,
                                       java.lang.Class<?> type)
Safer version of withConverter taking a class instead of a class name.


withCreatorType

public GuiceConfigurator withCreatorType(java.lang.String id,
                                         java.lang.Class<?> type)
Safer version of withCreatorType taking a class instead of a class name.


withFilter

public GuiceConfigurator withFilter(java.lang.Class<?> type)
Safer version of withFilter taking a class instead of a class name.


addFilter

public GuiceConfigurator addFilter(java.lang.Class<?> type)
Safer version of addFilter taking a class instead of a class name.



Copyright © 2007. All Rights Reserved.