Package tigase.osgi
Class AbstractActivator
- java.lang.Object
-
- tigase.osgi.AbstractActivator
-
- All Implemented Interfaces:
EventListener,org.osgi.framework.BundleActivator,org.osgi.framework.ServiceListener
public abstract class AbstractActivator extends Object implements org.osgi.framework.BundleActivator, org.osgi.framework.ServiceListener
Common activator which should be extended by any OSGi module which will be used by Tigase XMPP Server in OSGi mode.
Created by andrzej on 08.09.2016.
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<Class<?>>classesToExport
-
Constructor Summary
Constructors Constructor Description AbstractActivator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidserviceChanged(org.osgi.framework.ServiceEvent event)voidstart(org.osgi.framework.BundleContext bc)voidstop(org.osgi.framework.BundleContext bc)
-
-
-
Method Detail
-
start
public void start(org.osgi.framework.BundleContext bc) throws Exception- Specified by:
startin interfaceorg.osgi.framework.BundleActivator- Throws:
Exception
-
stop
public void stop(org.osgi.framework.BundleContext bc) throws Exception- Specified by:
stopin interfaceorg.osgi.framework.BundleActivator- Throws:
Exception
-
serviceChanged
public void serviceChanged(org.osgi.framework.ServiceEvent event)
- Specified by:
serviceChangedin interfaceorg.osgi.framework.ServiceListener
-
-