org.qi4j.library.osgi

## Class OSGiEnabledService.Activator

- java.lang.Object
- - org.qi4j.api.activation.ActivatorAdapter<ServiceReference<OSGiEnabledService>>
  - - org.qi4j.library.osgi.OSGiEnabledService.Activator

- All Implemented Interfaces:
    Activator<ServiceReference<OSGiEnabledService>>
  Enclosing interface:
    OSGiEnabledService

      public static class OSGiEnabledService.Activator
      extends ActivatorAdapter<ServiceReference<OSGiEnabledService>>

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `OSGiEnabledService.Activator()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `afterActivation(ServiceReference<OSGiEnabledService> activated)` Called after activatee activation.
    `void` | `beforePassivation(ServiceReference<OSGiEnabledService> passivating)` Called before activatee passivation.

    - ### Methods inherited from class org.qi4j.api.activation.ActivatorAdapter

      `afterPassivation, beforeActivation`

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

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

- - ### Constructor Detail

    - #### OSGiEnabledService.Activator

          public OSGiEnabledService.Activator()

  - ### Method Detail

    - #### afterActivation

          public void afterActivation(ServiceReference<OSGiEnabledService> activated)
                               throws Exception

      Description copied from class: `ActivatorAdapter`
      Called after activatee activation.
      Specified by:
        `afterActivation` in interface `Activator<ServiceReference<OSGiEnabledService>>`
      Overrides:
        `afterActivation` in class `ActivatorAdapter<ServiceReference<OSGiEnabledService>>`
      Parameters:
        `activated` - Activating activatee
      Throws:
        `Exception`

    - #### beforePassivation

          public void beforePassivation(ServiceReference<OSGiEnabledService> passivating)
                                 throws Exception

      Description copied from class: `ActivatorAdapter`
      Called before activatee passivation.
      Specified by:
        `beforePassivation` in interface `Activator<ServiceReference<OSGiEnabledService>>`
      Overrides:
        `beforePassivation` in class `ActivatorAdapter<ServiceReference<OSGiEnabledService>>`
      Parameters:
        `passivating` - Passivating activatee
      Throws:
        `Exception`