Class ActionExecutorDispatcherImpl

    • Constructor Detail

      • ActionExecutorDispatcherImpl

        public ActionExecutorDispatcherImpl()
    • Method Detail

      • setMetricsService

        public void setMetricsService​(MetricsService metricsService)
      • setBundleContext

        public void setBundleContext​(org.osgi.framework.BundleContext bundleContext)
      • setScriptExecutor

        public void setScriptExecutor​(ScriptExecutor scriptExecutor)
      • getContextualAction

        public Action getContextualAction​(Action action,
                                          Event event)
      • execute

        public int execute​(Action action,
                           Event event)
        Description copied from interface: ActionExecutorDispatcher
        Execute an action dispatcher according to the action type of the action
        Specified by:
        execute in interface ActionExecutorDispatcher
        Parameters:
        action - action to execute
        event - received event
        Returns:
        result code of the execution
      • bindExecutor

        public void bindExecutor​(org.osgi.framework.ServiceReference<ActionExecutor> actionExecutorServiceReference)
      • unbindExecutor

        public void unbindExecutor​(org.osgi.framework.ServiceReference<ActionExecutor> actionExecutorServiceReference)
      • bindDispatcher

        public void bindDispatcher​(org.osgi.framework.ServiceReference<ActionDispatcher> actionDispatcherServiceReference)
      • unbindDispatcher

        public void unbindDispatcher​(org.osgi.framework.ServiceReference<ActionDispatcher> actionDispatcherServiceReference)