@Test public void allPluginsOnPostInit() throws Exception { new CompositeProcessEnginePlugin(PLUGIN_A, PLUGIN_B).postInit(CONFIGURATION); ORDER.verify(PLUGIN_A).postInit(CONFIGURATION); ORDER.verify(PLUGIN_B).postInit(CONFIGURATION); }
@Override public void postInit(ProcessEngineConfigurationImpl processEngineConfiguration) { for (ProcessEnginePlugin plugin : plugins) { plugin.postInit(processEngineConfiguration); } }
CompositeProcessEnginePlugin extends AbstractProcessEnginePlugin { @Override public void postInit(ProcessEngineConfigurationImpl processEngineConfiguration) { for (ProcessEnginePlugin plugin : plugins) { plugin.postInit(processEngineConfiguration); } } }
CompositeProcessEnginePlugin extends AbstractProcessEnginePlugin { @Override public void postInit(ProcessEngineConfigurationImpl processEngineConfiguration) { for (ProcessEnginePlugin plugin : plugins) { plugin.postInit(processEngineConfiguration); } } CompositeProcessEnginePlugin();  CompositeProcessEnginePlugin(ProcessEnginePlugin plugin, ProcessEnginePlugin... additionalPlugins);  CompositeProcessEnginePlugin(final List<ProcessEnginePlugin> plugins); }
CompositeProcessEnginePlugin extends AbstractProcessEnginePlugin { @Override public void postInit(ProcessEngineConfigurationImpl processEngineConfiguration) { for (ProcessEnginePlugin plugin : plugins) { plugin.postInit(processEngineConfiguration); } } 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 postInit(ProcessEngineConfigurationImpl processEngineConfiguration) { for (ProcessEnginePlugin plugin : plugins) { plugin.postInit(processEngineConfiguration); } } 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();  }