org.qi4j.api.service

## Interface ServiceActivation

- All Known Subinterfaces:
    EhCachePoolService, ElasticSearchSupport, ESClusterIndexQueryService, ESFilesystemIndexQueryService, ESMemoryIndexQueryService, HazelcastEntityStoreService, IniSecurityManagerService, JCloudsMapEntityStoreService, LevelDBEntityStoreService, MemcachePoolService, MemoryCachePoolService, MongoMapEntityStoreService, PasswordRealmService, PreferencesEntityStoreService, RedisMapEntityStoreService, RiakMapEntityStoreService, SchedulerService, SQLEntityStoreService, UoWFileFactory
  All Known Implementing Classes:
    AbstractElasticSearchSupport, EhCachePoolMixin, ESClusterSupport, ESFilesystemSupport, ESMemorySupport, HazelcastEntityStoreMixin, IniSecurityManagerService.Mixin, JCloudsMapEntityStoreMixin, LevelDBEntityStoreMixin, MemcachePoolMixin, MemoryCachePoolMixin, MongoMapEntityStoreMixin, PasswordRealmMixin, PreferencesEntityStoreMixin, RedisMapEntityStoreMixin, RiakHttpMapEntityStoreMixin, RiakProtobufMapEntityStoreMixin, SchedulerMixin, SQLEntityStoreMixin, UoWFileFactory.Mixin

      @Activators(value=ServiceActivation.ServiceActivator.class)
      public interface ServiceActivation

  Convenience interface for simple Service Activation. Let your ServiceComposite extends ServiceActivation and implement it in one of its Mixins. A corresponding Activator is automatically registered.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static class` | `ServiceActivation.ServiceActivator` Service Activator.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `activateService()` Called after ServiceComposite Activation.
    `void` | `passivateService()` Called before ServiceComposite Passivation.

- - ### Method Detail

    - #### activateService

          void activateService()
                               throws Exception

      Called after ServiceComposite Activation.
      Throws:
        `Exception`

    - #### passivateService

          void passivateService()
                                throws Exception

      Called before ServiceComposite Passivation.
      Throws:
        `Exception`