org.qi4j.api.activation
Class ActivatorAdapter<ActivateeType>

java.lang.Object
  extended by org.qi4j.api.activation.ActivatorAdapter<ActivateeType>
All Implemented Interfaces:
Activator<ActivateeType>
Direct Known Subclasses:
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 class ActivatorAdapter<ActivateeType>
extends java.lang.Object
implements Activator<ActivateeType>

Adapter for Activator.


Constructor Summary
ActivatorAdapter()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActivatorAdapter

public ActivatorAdapter()
Method Detail

beforeActivation

public void beforeActivation(ActivateeType activating)
                      throws java.lang.Exception
Called before activatee activation.

Specified by:
beforeActivation in interface Activator<ActivateeType>
Throws:
java.lang.Exception

afterActivation

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

Specified by:
afterActivation in interface Activator<ActivateeType>
Throws:
java.lang.Exception

beforePassivation

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

Specified by:
beforePassivation in interface Activator<ActivateeType>
Throws:
java.lang.Exception

afterPassivation

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

Specified by:
afterPassivation in interface Activator<ActivateeType>
Throws:
java.lang.Exception