public interface ProcessContextRegistry
| Modifier and Type | Method and Description |
|---|---|
int |
register(ProcessContext context)
Registers the given
ProcessContext, creates a new internal id for it and returns it. |
ProcessContext |
retrieve(int pid)
Retrieves the
ProcessContext uniquely identified by the passed pid. |
void |
unregister(int pid)
Unregisters (removes) the
ProcessContext identified by the given pid. |
int register(ProcessContext context)
ProcessContext, creates a new internal id for it and returns it.context - the context to registerProcessContextvoid unregister(int pid)
ProcessContext identified by the given pid.
If no ProcessContext is registered for the specified id, calling this method has no effect; no exception
is thrown.pid - the locally unique id of the registered ProcessContext.ProcessContext retrieve(int pid)
ProcessContext uniquely identified by the passed pid.pid - the locally unique id of the registered ProcessContext.ProcessContext registered for the specified pid or null
if no such context is known.Copyright © 2018 SAP SE. All Rights Reserved.