@Test public void allPluginsOnPostProcessEngineBuild() throws Exception { new CompositeProcessEnginePlugin(PLUGIN_A, PLUGIN_B).postProcessEngineBuild(ENGINE); ORDER.verify(PLUGIN_A).postProcessEngineBuild(ENGINE); ORDER.verify(PLUGIN_B).postProcessEngineBuild(ENGINE); }
@Override public void postProcessEngineBuild(ProcessEngine processEngine) { for (ProcessEnginePlugin plugin : plugins) { plugin.postProcessEngineBuild(processEngine); } }
CompositeProcessEnginePlugin extends AbstractProcessEnginePlugin { @Override public void postProcessEngineBuild(ProcessEngine processEngine) { for (ProcessEnginePlugin plugin : plugins) { plugin.postProcessEngineBuild(processEngine); } } }
CompositeProcessEnginePlugin extends AbstractProcessEnginePlugin { @Override public void postProcessEngineBuild(ProcessEngine processEngine) { for (ProcessEnginePlugin plugin : plugins) { plugin.postProcessEngineBuild(processEngine); } } CompositeProcessEnginePlugin();  CompositeProcessEnginePlugin(ProcessEnginePlugin plugin, ProcessEnginePlugin... additionalPlugins);  CompositeProcessEnginePlugin(final List<ProcessEnginePlugin> plugins); }
CompositeProcessEnginePlugin extends AbstractProcessEnginePlugin { @Override public void postProcessEngineBuild(ProcessEngine processEngine) { for (ProcessEnginePlugin plugin : plugins) { plugin.postProcessEngineBuild(processEngine); } } CompositeProcessEnginePlugin();  CompositeProcessEnginePlugin(ProcessEnginePlugin plugin, ProcessEnginePlugin... additionalPlugins);  CompositeProcessEnginePlugin(final List<ProcessEnginePlugin> plugins); CompositeProcessEnginePlugin addProcessEnginePlugin(ProcessEnginePlugin plugin, ProcessEnginePlugin... additionalPlugins); CompositeProcessEnginePlugin addProcessEnginePlugins(final Collection<ProcessEnginePlugin> plugins); @Override void preInit(ProcessEngineConfigurationImpl processEngineConfiguration); @Override void postInit(ProcessEngineConfigurationImpl processEngineConfiguration); @Override void postProcessEngineBuild(ProcessEngine processEngine); List<ProcessEnginePlugin> getPlugins(); @Override String toString(); }
CompositeProcessEnginePlugin extends AbstractProcessEnginePlugin { @Override public void postProcessEngineBuild(ProcessEngine processEngine) { for (ProcessEnginePlugin plugin : plugins) { plugin.postProcessEngineBuild(processEngine); } } CompositeProcessEnginePlugin();  CompositeProcessEnginePlugin(ProcessEnginePlugin plugin, ProcessEnginePlugin... additionalPlugins);  CompositeProcessEnginePlugin(final List<ProcessEnginePlugin> plugins); CompositeProcessEnginePlugin addProcessEnginePlugin(ProcessEnginePlugin plugin, ProcessEnginePlugin... additionalPlugins); CompositeProcessEnginePlugin addProcessEnginePlugins(final Collection<ProcessEnginePlugin> plugins); @Override void preInit(ProcessEngineConfigurationImpl processEngineConfiguration); @Override void postInit(ProcessEngineConfigurationImpl processEngineConfiguration); @Override void postProcessEngineBuild(ProcessEngine processEngine); List<ProcessEnginePlugin> getPlugins(); @Override String toString();  }