public class ActionExecutorDispatcherImpl extends Object implements ActionExecutorDispatcher
Constructor and Description |
---|
ActionExecutorDispatcherImpl() |
Modifier and Type | Method and Description |
---|---|
void |
bindDispatcher(org.osgi.framework.ServiceReference<ActionDispatcher> actionDispatcherServiceReference) |
void |
bindExecutor(org.osgi.framework.ServiceReference<ActionExecutor> actionExecutorServiceReference) |
int |
execute(Action action,
Event event)
Execute an action dispatcher according to the action type of the action
|
protected Object |
executeScript(String script,
Event event) |
Action |
getContextualAction(Action action,
Event event) |
void |
setBundleContext(org.osgi.framework.BundleContext bundleContext) |
void |
setMetricsService(MetricsService metricsService) |
void |
setScriptExecutor(ScriptExecutor scriptExecutor) |
void |
unbindDispatcher(org.osgi.framework.ServiceReference<ActionDispatcher> actionDispatcherServiceReference) |
void |
unbindExecutor(org.osgi.framework.ServiceReference<ActionExecutor> actionExecutorServiceReference) |
public void setMetricsService(MetricsService metricsService)
public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
public void setScriptExecutor(ScriptExecutor scriptExecutor)
public int execute(Action action, Event event)
ActionExecutorDispatcher
execute
in interface ActionExecutorDispatcher
action
- action to executeevent
- received eventpublic void bindExecutor(org.osgi.framework.ServiceReference<ActionExecutor> actionExecutorServiceReference)
public void unbindExecutor(org.osgi.framework.ServiceReference<ActionExecutor> actionExecutorServiceReference)
public void bindDispatcher(org.osgi.framework.ServiceReference<ActionDispatcher> actionDispatcherServiceReference)
public void unbindDispatcher(org.osgi.framework.ServiceReference<ActionDispatcher> actionDispatcherServiceReference)
Copyright © 2014–2022 Apache Software Foundation. All rights reserved.