org.qi4j.api.activation

## Interface Activator<ActivateeType>

- Type Parameters:
    `ActivateeType` - Type of the activatee.
  All Known Implementing Classes:
    ActivatorAdapter, ApplicationEventStoreActivation.Activator, ApplicationManagerService.Activator, CircuitBreakerManagement.Activator, ConfigurationManagerService.Activator, DataSourceConfigurationManagerService.Activator, DataSourceServiceImporterActivation.Activator, EmbeddedSolrService.Activator, EventStoreActivation.Activator, FileConfigurationService.Activator, FileEntityStoreActivation.Activator, HttpRepositoryService.Activator, JdbmEntityStoreActivation.Activator, JettyActivation.Activator, JMXConnectorService.Activator, JSONMapEntityStoreActivation.Activator, LiquibaseService.Activator, MapEntityStoreActivation.Activator, MemoryRepositoryService.Activator, MigrationService.Activator, NativeRepositoryService.Activator, OSGiEnabledService.Activator, OSGiServiceExporter.Activator, RdbmsRepositoryService.Activator, RdfIndexingService.Activator, RestServerComposite.Activator, ServiceActivation.ServiceActivator, ServiceActivatorAdapter, SolrQueryService.Activator, SQLAppStartup.Activator, YammerMetricsProvider.Activator

      public interface Activator<ActivateeType>

  Assemble Activators to hook Services Activation.
  See Also:
    `ActivatorAdapter`, `ServiceActivation`

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `afterActivation(ActivateeType activated)` Called after activatee activation.
    `void` | `afterPassivation(ActivateeType passivated)` Called after activatee passivation.
    `void` | `beforeActivation(ActivateeType activating)` Called before activatee activation.
    `void` | `beforePassivation(ActivateeType passivating)` Called before activatee passivation.

- - ### Method Detail

    - #### beforeActivation

          void beforeActivation(ActivateeType activating)
                                throws Exception

      Called before activatee activation.
      Throws:
        `Exception`

    - #### afterActivation

          void afterActivation(ActivateeType activated)
                               throws Exception

      Called after activatee activation.
      Throws:
        `Exception`

    - #### beforePassivation

          void beforePassivation(ActivateeType passivating)
                                 throws Exception

      Called before activatee passivation.
      Throws:
        `Exception`

    - #### afterPassivation

          void afterPassivation(ActivateeType passivated)
                                throws Exception

      Called after activatee passivation.
      Throws:
        `Exception`