public class ServicePreprocessor extends AbstractPreprocessorPlugin
Services are obtained from this preprocessor instance's application context.
Many modules (e.g., most
Commands) use @
service fields, resulting in those parameters being populated when the
SciJava application context is injected (via
However, some modules may have service parameters which are programmatically
generated (i.e., returned directly as inputs from
and as such not populated by context injection. E.g., this situation is the
case for scripts, since module inputs are parsed from the script header
rather than declared via the @
Parameter annotation. In such cases, we
need this service preprocessor to fill in the service values.
|Constructor and Description|
|Modifier and Type||Method and Description|
Performs a processing step on the given module instance.
cancel, getCancelReason, isCanceled
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Copyright © 2015–2017 SciJava. All rights reserved.