|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.isam.exehda.services.ctxm.ContextChain
Abstract class representing a filter that produces context information from raw sensor
data.
ContextChains are built through the getInstance()
which expects as
parameter a context element definition in XML.
Constructor Summary | |
(package private) |
ContextChain()
|
Method Summary | |
static ContextChain |
getInstance(java.lang.String ctxDef)
Creates a new ContextChain. |
static void |
setChainFactory(ContextChainFactory f)
Installs a new chain factory. |
abstract ContextEvent |
updateChain(Environment env,
long tsNow)
Notifies the chain that the current environment has changed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
ContextChain()
Method Detail |
public static void setChainFactory(ContextChainFactory f)
f
- a non-null ContextChainFactory
valuepublic static ContextChain getInstance(java.lang.String ctxDef)
createChain()
in the currently
configured factory.
ctxDef
- a String
value
ContextChain
valuepublic abstract ContextEvent updateChain(Environment env, long tsNow)
env
- an Environment
valuetsNow
- a time stamp to be used with the generated context event
ContextEvent
value or null if the state of the context
element has not changed.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |