public class RebindModule extends AbstractModule
Constructor and Description |
---|
RebindModule(Logger logger,
GeneratorContext generatorContext) |
Modifier and Type | Method and Description |
---|---|
protected void |
configure() |
GeneratorContext |
getGeneratorContext() |
Logger |
getLogger() |
TypeOracle |
getTypeOracle() |
org.apache.velocity.app.VelocityEngine |
getVelocityEngine(String velocityProperties,
Logger logger) |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
public RebindModule(Logger logger, GeneratorContext generatorContext)
@Provides public TypeOracle getTypeOracle()
@Provides public GeneratorContext getGeneratorContext()
@Provides @Singleton public org.apache.velocity.app.VelocityEngine getVelocityEngine(String velocityProperties, Logger logger) throws UnableToCompleteException
UnableToCompleteException
protected void configure()
configure
in class AbstractModule
Copyright © 2010–2014 Arcbees. All rights reserved.