@Test public void testDestroy() { tested.destroy(); verify(generateFormsActions, times(1)).destroyAll(); verify(views, times(1)).destroyAll(); }
@PreDestroy public void destroy() { generateFormsActions.destroyAll(); views.destroyAll(); }
BPMNProjectActionsToolboxFactory extends AbstractActionsToolboxFactory { @PreDestroy public void destroy() { generateFormsActions.destroyAll(); views.destroyAll(); } }
BPMNProjectActionsToolboxFactory extends AbstractActionsToolboxFactory { @PreDestroy public void destroy() { generateFormsActions.destroyAll(); views.destroyAll(); } @Inject  BPMNProjectActionsToolboxFactory(final @CommonActionsToolbox ActionsToolboxFactory commonActionToolbox,
                                            final @Any ManagedInstance<FormGenerationToolboxAction> generateFormsActions,
                                            final @Any @CommonActionsToolbox ManagedInstance<ActionsToolboxView> views); }
BPMNProjectActionsToolboxFactory extends AbstractActionsToolboxFactory { @PreDestroy public void destroy() { generateFormsActions.destroyAll(); views.destroyAll(); } @Inject  BPMNProjectActionsToolboxFactory(final @CommonActionsToolbox ActionsToolboxFactory commonActionToolbox,
                                            final @Any ManagedInstance<FormGenerationToolboxAction> generateFormsActions,
                                            final @Any @CommonActionsToolbox ManagedInstance<ActionsToolboxView> views); @Override Collection<ToolboxAction<AbstractCanvasHandler>> getActions(final AbstractCanvasHandler canvasHandler,
                                                                       final Element<?> e); @PreDestroy void destroy(); }
BPMNProjectActionsToolboxFactory extends AbstractActionsToolboxFactory { @PreDestroy public void destroy() { generateFormsActions.destroyAll(); views.destroyAll(); } @Inject  BPMNProjectActionsToolboxFactory(final @CommonActionsToolbox ActionsToolboxFactory commonActionToolbox,
                                            final @Any ManagedInstance<FormGenerationToolboxAction> generateFormsActions,
                                            final @Any @CommonActionsToolbox ManagedInstance<ActionsToolboxView> views); @Override Collection<ToolboxAction<AbstractCanvasHandler>> getActions(final AbstractCanvasHandler canvasHandler,
                                                                       final Element<?> e); @PreDestroy void destroy();  }