File stateDir()
AbstractProcessorContext — Base Of Internal Processor Contexts
AbstractProcessorContext
is the base implementation of the InternalProcessorContext contract for processor contexts that FIXME.
Note
|
AbstractProcessorContext is a Java abstract class and cannot be created directly. It is created indirectly for the concrete AbstractProcessorContexts.
|
AbstractProcessorContext | Description |
---|---|
Name | Description |
---|---|
|
|
|
Default |
|
Default |
|
Turned off ( Used when |
stateDir
Method
Note
|
stateDir is part of the ProcessorContext Contract to…FIXME.
|
stateDir
…FIXME
Registering State Store (And StateRestoreCallback) — register
Method
void register(
StateStore store,
StateRestoreCallback stateRestoreCallback)
Note
|
register is part of the ProcessorContext Contract to register a state store (and a StateRestoreCallback).
|
register
simply requests the StateManager to register the state store (and the StateRestoreCallback).
When initialized already, register
throws an IllegalStateException
:
Can only create state stores during initialization.
uninitialize
Method
void uninitialize()
Note
|
uninitialize is part of the InternalProcessorContext Contract to…FIXME.
|
uninitialize
marks the content uninitialized (and simply turns the initialized flag off).
Creating AbstractProcessorContext Instance
AbstractProcessorContext
takes the following when created:
AbstractProcessorContext
initializes the internal registries and counters.
Note
|
AbstractProcessorContext is a Java abstract class and cannot be created directly. It is created indirectly for the concrete AbstractProcessorContexts.
|