org.cogchar.app.puma.web
Class PumaWebMapper
java.lang.Object
org.appdapter.core.log.BasicDebugger
org.cogchar.app.puma.web.PumaWebMapper
- All Implemented Interfaces:
- org.appdapter.core.log.Loggable
public class PumaWebMapper
- extends org.appdapter.core.log.BasicDebugger
Able to wire and start both our current HTTP services: 1) SPARQL-HTTP repo and 2) Lifter WebUI
- Author:
- Stu B.
| Fields inherited from interface org.appdapter.core.log.Loggable |
IMPO_HI, IMPO_HIHI, IMPO_LO, IMPO_LOLO, IMPO_MAX, IMPO_MIN, IMPO_NORM |
| Methods inherited from class org.appdapter.core.log.BasicDebugger |
checkDebugImportance, forceLog4jConfig, getLogger, getLoggerForClass, isLoggerUsable, logDebug, logError, logError, logInfo, logInfo, logInfoEvent, logWarning, logWarning, logWithException, setDebugImportanceThreshold, setLogger, useLoggerForClass |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PumaWebMapper
public PumaWebMapper(PumaContextCommandBox pccb)
getCommandBox
public PumaContextCommandBox getCommandBox()
geWebCommandTarget
protected org.cogchar.app.puma.web.CommandTargetForUseFromWeb geWebCommandTarget()
- Returns:
- Called only from connectLiftInterface()
connectLiftSceneInterface
public void connectLiftSceneInterface(org.osgi.framework.BundleContext bundleCtx)
disconnectLiftSceneInterface
public void disconnectLiftSceneInterface(org.osgi.framework.BundleContext bundleCtx)
connectLiftInterface
public void connectLiftInterface(org.osgi.framework.BundleContext bundleCtx)
- Parameters:
bundleCtx - Called only from
PumaAppContext.connectWeb(), which is called from PUMA booter, typically from a Framework-started event
handler in some "top" application bundle.
startLifterLifecycle
public void startLifterLifecycle(org.osgi.framework.BundleContext bunCtx)
- Tell the lifter lifecycle to start, once its OSGi dependencies are satisfied.
So far, it is only called from Friendularity tests: o.f.b.lifter - Activator and o.f.b.repo - Activator.
- Parameters:
bunCtx -
getMainSparqlDataset
public com.hp.hpl.jena.query.Dataset getMainSparqlDataset()
- Called from o.f.b.repo - Activator
and from
o.c.b.bind.joseki - o.c.joswrap.RepoJosDsetDesc
- Returns:
registerActionConsumers
public void registerActionConsumers(BasicThingActionRouter router,
org.appdapter.help.repo.RepoClient rc,
org.cogchar.blob.emit.GlobalConfigEmitter gce)
- Called only from GruesomeTAProcessingFuncs.registerActionConsumers()
- Parameters:
router - rc - gce -
Copyright © 2010-2013. All Rights Reserved.