org.qi4j.api.activation
Interface Activation

All Known Subinterfaces:
Application, Layer

public interface Activation

Interface used by Structure elements and Services that can be activated and passivated. Application and Layer expose this interface so you can activate and passivate them. Module and ServiceComposite activation/passivation is handled by the Qi4j runtime.


Method Summary
 void activate()
          Called on activation.
 void passivate()
          Called on passivation.
 

Method Detail

activate

void activate()
              throws ActivationException
Called on activation.

Throws:
ActivationException

passivate

void passivate()
               throws PassivationException
Called on passivation.

Throws:
PassivationException