Class JFactTBoxReasonerModule
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.tboxreasoner.impl.jfact.JFactTBoxReasonerModule
-
- All Implemented Interfaces:
Application.Component,Application.Module,TBoxReasonerModule
public class JFactTBoxReasonerModule extends Object implements TBoxReasonerModule
Configure a JFact reasoner on the TBox. Create a JFactTBoxReasoner and pass it as the strategy to a BasicTBoxReasonerDriver.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface edu.cornell.mannlib.vitro.webapp.modules.Application.Component
Application.Component.LifecycleState
-
-
Constructor Summary
Constructors Constructor Description JFactTBoxReasonerModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TBoxReasonerStatusgetStatus()What is the TBox reasoner doing now?List<org.apache.jena.ontology.Restriction>listRestrictions()What restrictions are currently in the reasoner's internal model?voidshutdown(Application application)This should be called only once, and should be the last call on this Component.voidstartup(Application application, ComponentStartupStatus ss)This should be called only once, and should be the first call on this Component.voidwaitForTBoxReasoning()Wait until the TBox reasoner becomes quiet.
-
-
-
Method Detail
-
startup
public void startup(Application application, ComponentStartupStatus ss)
Description copied from interface:Application.ComponentThis should be called only once, and should be the first call on this Component.- Specified by:
startupin interfaceApplication.Component
-
getStatus
public TBoxReasonerStatus getStatus()
Description copied from interface:TBoxReasonerModuleWhat is the TBox reasoner doing now?- Specified by:
getStatusin interfaceTBoxReasonerModule
-
listRestrictions
public List<org.apache.jena.ontology.Restriction> listRestrictions()
Description copied from interface:TBoxReasonerModuleWhat restrictions are currently in the reasoner's internal model?- Specified by:
listRestrictionsin interfaceTBoxReasonerModule
-
waitForTBoxReasoning
public void waitForTBoxReasoning()
Description copied from interface:TBoxReasonerModuleWait until the TBox reasoner becomes quiet.- Specified by:
waitForTBoxReasoningin interfaceTBoxReasonerModule
-
shutdown
public void shutdown(Application application)
Description copied from interface:Application.ComponentThis should be called only once, and should be the last call on this Component.- Specified by:
shutdownin interfaceApplication.Component
-
-