org.qi4j.api.activation
Interface Activator<ActivateeType>

All Known Implementing Classes:
ActivatorAdapter, ApplicationManagerService.Activator, CircuitBreakerManagement.Activator, ConfigurationManagerService.Activator, DataSourceConfigurationManagerService.Activator, DataSourceServiceImporterActivation.Activator, EmbeddedSolrService.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, SchedulerActivation.Activator, ServiceActivation.ServiceActivator, SolrQueryService.Activator, SQLAppStartup.Activator, UoWFileFactory.Activator, YammerMetricsProvider.Activator

public interface Activator<ActivateeType>

Assemble Activators to hook Services Activation.

See Also:
ActivatorAdapter, ServiceActivation

Method Summary
 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 java.lang.Exception
Called before activatee activation.

Throws:
java.lang.Exception

afterActivation

void afterActivation(ActivateeType activated)
                     throws java.lang.Exception
Called after activatee activation.

Throws:
java.lang.Exception

beforePassivation

void beforePassivation(ActivateeType passivating)
                       throws java.lang.Exception
Called before activatee passivation.

Throws:
java.lang.Exception

afterPassivation

void afterPassivation(ActivateeType passivated)
                      throws java.lang.Exception
Called after activatee passivation.

Throws:
java.lang.Exception