tk.exgerm.core
Class Activator

java.lang.Object
  extended by tk.exgerm.core.Activator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class Activator
extends Object
implements org.osgi.framework.BundleActivator

Klasa koju poziva OSGI framework prilikom pokretanja komponente.

Ne radi ništa pamento, samo instancira Core koji obavlja sve ostalo.

Author:
Tim 2

Constructor Summary
Activator()
           
 
Method Summary
 void start(org.osgi.framework.BundleContext context)
           Ova metoda biva pozvana kada se pokreće komponenta.
 void stop(org.osgi.framework.BundleContext context)
           Ova metoda biva pozvana kad se zaustavlja komponenta.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Activator

public Activator()
Method Detail

start

public void start(org.osgi.framework.BundleContext context)
           throws Exception

Ova metoda biva pozvana kada se pokreće komponenta.

Samo instancira Core i prepušta mu sve ostalo.

Specified by:
start in interface org.osgi.framework.BundleActivator
Throws:
Exception

stop

public void stop(org.osgi.framework.BundleContext context)
          throws Exception

Ova metoda biva pozvana kad se zaustavlja komponenta.

TODO: Dodati javadoc ukoliko se neki kod ovde doda.

Specified by:
stop in interface org.osgi.framework.BundleActivator
Throws:
Exception