public abstract class UniquePrologEngineDriver<T extends PrologEngine> extends AbstractPrologEngineDriver<T>
JAVA_SIDE_EXCEPTION_SPECIFIER
Constructor and Description |
---|
UniquePrologEngineDriver(EngineDescription engineDescription) |
UniquePrologEngineDriver(EngineDescription engineDescription,
JpcPreferences preferences) |
Modifier and Type | Method and Description |
---|---|
protected T |
createPrologEngine(PrologEngineFactory<T> basicFactory) |
protected abstract Collection<DriverStateListener> |
getListeners()
To force descendant to re-implement this method properly.
|
boolean |
isDisabled()
Answers if the driver is disabled (cannot create a Prolog Engine session) or enabled.
|
protected abstract boolean |
isInstanceRunning() |
addStateListener, createPrologEngine, defaultBasicFactory, getDescription, getEngineDescription, getLibraryName, getLicenseUrl, getPreferences, getShortDescription, getSiteUrl, notifyDisabledState, onCreate, readyOrThrow, removeStateListener, toString
public UniquePrologEngineDriver(EngineDescription engineDescription)
public UniquePrologEngineDriver(EngineDescription engineDescription, JpcPreferences preferences)
public boolean isDisabled()
AbstractPrologEngineDriver
isDisabled
in interface PrologEngineDriver<T extends PrologEngine>
isDisabled
in class AbstractPrologEngineDriver<T extends PrologEngine>
protected abstract boolean isInstanceRunning()
protected T createPrologEngine(PrologEngineFactory<T> basicFactory)
createPrologEngine
in class AbstractPrologEngineDriver<T extends PrologEngine>
protected abstract Collection<DriverStateListener> getListeners()
getListeners
in class AbstractPrologEngineDriver<T extends PrologEngine>
Copyright © 2014. All rights reserved.