public abstract class AbstractController extends Object
Modifier and Type | Field and Description |
---|---|
protected OntopiaRestApplication |
ontopia |
Constructor and Description |
---|
AbstractController() |
Modifier and Type | Method and Description |
---|---|
protected <C extends AbstractController> |
getController(Class<C> controllerClass) |
OntopiaRestApplication |
getOntopia() |
protected abstract void |
init() |
protected void |
requireNotNull(Object field,
String name) |
void |
setOntopia(OntopiaRestApplication ontopia) |
protected OntopiaRestApplication ontopia
public void setOntopia(OntopiaRestApplication ontopia)
public OntopiaRestApplication getOntopia()
protected <C extends AbstractController> C getController(Class<C> controllerClass)
protected abstract void init()