org.qi4j.library.osgi
Class OSGiEnabledService.OSGiEnabledServiceMixin

java.lang.Object
  extended by org.qi4j.library.osgi.OSGiEnabledService.OSGiEnabledServiceMixin
All Implemented Interfaces:
Composite, Identity, Activatable, ServiceComposite, OSGiEnabledService
Enclosing interface:
OSGiEnabledService

public abstract static class OSGiEnabledService.OSGiEnabledServiceMixin
extends Object
implements OSGiEnabledService


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.qi4j.library.osgi.OSGiEnabledService
OSGiEnabledService.OSGiEnabledServiceMixin
 
Nested classes/interfaces inherited from interface org.qi4j.api.entity.Identity
Identity.IdentityMixin
 
Constructor Summary
OSGiEnabledService.OSGiEnabledServiceMixin()
           
 
Method Summary
 void activate()
          This is invoked on the service when the instance is being activated
 void passivate()
          This is invoked on the service when the instance is being passivated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.qi4j.api.entity.Identity
identity
 
Methods inherited from interface org.qi4j.api.composite.Composite
metaInfo, type
 

Constructor Detail

OSGiEnabledService.OSGiEnabledServiceMixin

public OSGiEnabledService.OSGiEnabledServiceMixin()
Method Detail

activate

public void activate()
              throws Exception
Description copied from interface: Activatable
This is invoked on the service when the instance is being activated

Specified by:
activate in interface Activatable
Throws:
Exception - if service could not be activated

passivate

public void passivate()
               throws Exception
Description copied from interface: Activatable
This is invoked on the service when the instance is being passivated

Specified by:
passivate in interface Activatable
Throws:
Exception - if the service could not be passivated