public class DefaultRunService extends AbstractHandlerService<Object,CodeRunner> implements RunService
CodeRunner plugins.| Constructor and Description |
|---|
DefaultRunService() |
| Modifier and Type | Method and Description |
|---|---|
Class<CodeRunner> |
getPluginType()
Gets the type of plugins managed by this service.
|
Class<Object> |
getType()
Gets the type associated with the object.
|
void |
run(Object code,
Map<String,Object> inputMap)
Executes the given code using the most appropriate handler, passing the
arguments in the specified map as inputs.
|
void |
run(Object code,
Object... args)
Executes the given code using the most appropriate handler, passing the
specified arguments as inputs.
|
getHandler, supportsgetInstance, getInstances, objectServicepluginServicedispose, getContext, setContext, toStringgetInfo, getPriority, setInfo, setPrioritycontextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetHandler, getInstances, supportscreate, filterInstances, getInstance, initialize, objectServicefindgetPlugins, getPluginService, pluginServiceregisterEventHandlersgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersiondisposepublic void run(Object code, Object... args) throws InvocationTargetException
RunServicerun in interface RunServiceInvocationTargetExceptionpublic void run(Object code, Map<String,Object> inputMap) throws InvocationTargetException
RunServicerun in interface RunServiceInvocationTargetExceptionpublic Class<CodeRunner> getPluginType()
PTServicegetPluginType in interface PTService<CodeRunner>Copyright © 2009–2016 SciJava. All rights reserved.