org.qi4j.api.service
Class ServiceActivation.ServiceActivator

java.lang.Object
  extended by org.qi4j.api.activation.ActivatorAdapter<ServiceReference<ServiceActivation>>
      extended by org.qi4j.api.service.ServiceActivation.ServiceActivator
All Implemented Interfaces:
Activator<ServiceReference<ServiceActivation>>
Enclosing interface:
ServiceActivation

public static class ServiceActivation.ServiceActivator
extends ActivatorAdapter<ServiceReference<ServiceActivation>>

Service Activator.


Constructor Summary
ServiceActivation.ServiceActivator()
           
 
Method Summary
 void afterActivation(ServiceReference<ServiceActivation> activated)
          Called after activatee activation.
 void beforePassivation(ServiceReference<ServiceActivation> 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

ServiceActivation.ServiceActivator

public ServiceActivation.ServiceActivator()
Method Detail

afterActivation

public void afterActivation(ServiceReference<ServiceActivation> activated)
                     throws java.lang.Exception
Description copied from class: ActivatorAdapter
Called after activatee activation.

Specified by:
afterActivation in interface Activator<ServiceReference<ServiceActivation>>
Overrides:
afterActivation in class ActivatorAdapter<ServiceReference<ServiceActivation>>
Throws:
java.lang.Exception

beforePassivation

public void beforePassivation(ServiceReference<ServiceActivation> passivating)
                       throws java.lang.Exception
Description copied from class: ActivatorAdapter
Called before activatee passivation.

Specified by:
beforePassivation in interface Activator<ServiceReference<ServiceActivation>>
Overrides:
beforePassivation in class ActivatorAdapter<ServiceReference<ServiceActivation>>
Throws:
java.lang.Exception