Package org.silverpeas.processmanager

## Class ProcessManagerInstancePreDestruction

- java.lang.Object
- - org.silverpeas.processmanager.ProcessManagerInstancePreDestruction

- All Implemented Interfaces:
    `org.silverpeas.core.admin.component.ComponentInstancePreDestruction`

      @Named("processManagerInstancePreDestruction")
      public class ProcessManagerInstancePreDestruction
      extends Object
      implements org.silverpeas.core.admin.component.ComponentInstancePreDestruction

  Removes all the process instances defined for the ProcessManager instance that is being deleted.
  Author:
    mmoquillon

- - ### Field Summary

    - ### Fields inherited from interface org.silverpeas.core.admin.component.ComponentInstancePreDestruction

      `NAME_SUFFIX, WORKFLOW_PRE_DESTRUCTION`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ProcessManagerInstancePreDestruction()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `preDestroy​(String componentInstanceId)` | Performs pre destruction tasks in the behalf of the specified ProcessManager instance.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ProcessManagerInstancePreDestruction

          public ProcessManagerInstancePreDestruction()

  - ### Method Detail

    - #### preDestroy

          public void preDestroy​(String componentInstanceId)

      Performs pre destruction tasks in the behalf of the specified ProcessManager instance.
      Specified by:
        `preDestroy` in interface `org.silverpeas.core.admin.component.ComponentInstancePreDestruction`
      Parameters:
        `componentInstanceId` - the unique identifier of the ProcessManager instance.