public abstract class OntopAbstractModule
extends com.google.inject.AbstractModule
| Modifier and Type | Class and Description |
|---|---|
class |
OntopAbstractModule.UnknownClassException
Interface not found in the settings or impossibility to load the
declared implementation class.
|
| Modifier | Constructor and Description |
|---|---|
protected |
OntopAbstractModule(OntopModelSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
bindFromSettings(Class abstractClass)
To bind classes with default constructors.
|
protected com.google.inject.Module |
buildFactory(List<Class> types,
Class factoryInterface) |
protected void |
configureCoreConfiguration()
TO be called by sub-classes, inside the configure() method.
|
Class |
getImplementation(Class abstractInterface) |
Class |
getImplementation(String interfaceClassName) |
protected OntopModelSettings |
getSettings() |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingprotected OntopAbstractModule(OntopModelSettings settings)
public Class getImplementation(String interfaceClassName) throws OntopAbstractModule.UnknownClassException
public Class getImplementation(Class abstractInterface) throws OntopAbstractModule.UnknownClassException
protected com.google.inject.Module buildFactory(List<Class> types, Class factoryInterface)
protected void configureCoreConfiguration()
protected OntopModelSettings getSettings()
protected void bindFromSettings(Class abstractClass)
Copyright © 2009–2021 Free University of Bozen-Bolzano. All rights reserved.