Package org.jbpm.services.api

## Interface ListenerSupport

- All Known Subinterfaces:
    `DeploymentServiceEJBLocal`
  All Known Implementing Classes:
    `AbstractDeploymentService`, `DeploymentServiceCDIImpl`, `DeploymentServiceEJBImpl`, `KModuleDeploymentService`

      public interface ListenerSupport

  Provides means to add deployment event listeners to deployment service.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `addListener​(DeploymentEventListener listener)` | Adds a new deployment listener.
    `Collection<DeploymentEventListener>` | `getListeners()` | Returns all deployment listeners
    `void` | `removeListener​(DeploymentEventListener listener)` | Removes an existing deployment listener.

- - ### Method Detail

    - #### addListener

          void addListener​(DeploymentEventListener listener)

      Adds a new deployment listener.
      Parameters:
        `listener` -

    - #### removeListener

          void removeListener​(DeploymentEventListener listener)

      Removes an existing deployment listener.
      Parameters:
        `listener` -

    - #### getListeners

          Collection<DeploymentEventListener> getListeners()

      Returns all deployment listeners
      Returns:
        deployment listeners